UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

13 lines 292 B
/** * Streams the latest chunk in intervals of `ms`. * * @group Transformers * @example * ``` * --1--T40----2--T20--| * sampleTime(20) * -T20-1-T20-1-T20-2--| * ``` */ export declare function sampleTime<T>(ms: number): TransformStream<T, T>; //# sourceMappingURL=sampleTime.d.ts.map