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 { export enum FlushStrategy {
sampling, sampling = "sampling",
rolling, rolling = "rolling",
sliding, sliding = "sliding",
} }
export type AccumulatorOptions<T, R, S> = S extends FlushStrategy.sampling export type AccumulatorOptions<T, R, S> = S extends FlushStrategy.sampling

View File

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