@electric-sql/d2ts
Version:
D2TS is a TypeScript implementation of Differential Dataflow.
16 lines (15 loc) • 520 B
TypeScript
import { PipedOperator } from '../types.js';
import { UnaryOperator } from '../graph.js';
/**
* Operator that buffers collections at each version
* Ensured that completed versions are sent to the output as a whole, and in order
*/
export declare class BufferOperator<T> extends UnaryOperator<T> {
run(): void;
}
/**
* Buffers the elements in the stream
* Ensured that completed versions are sent to the output as a whole, and in order
*/
export declare function buffer<T>(): PipedOperator<T, T>;