Export accumulator and map enum
This commit is contained in:
parent
a60b23496b
commit
c1ef5fec4b
@ -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
|
||||||
|
@ -19,4 +19,5 @@ export {
|
|||||||
unbatch,
|
unbatch,
|
||||||
rate,
|
rate,
|
||||||
parallelMap,
|
parallelMap,
|
||||||
|
accumulator,
|
||||||
} from "./functions";
|
} from "./functions";
|
||||||
|
Loading…
Reference in New Issue
Block a user