Export accumulator and map enum

This commit is contained in:
Jerry Kurian 2019-08-09 09:58:14 -04:00
parent a60b23496b
commit c1ef5fec4b
2 changed files with 4 additions and 3 deletions

View File

@ -23,9 +23,9 @@ export interface JsonParseOptions {
}
export enum FlushStrategy {
sampling,
rolling,
sliding,
sampling = "sampling",
rolling = "rolling",
sliding = "sliding",
}
export type AccumulatorOptions<T, R, S> = S extends FlushStrategy.sampling

View File

@ -19,4 +19,5 @@ export {
unbatch,
rate,
parallelMap,
accumulator,
} from "./functions";