UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

22 lines 555 B
/** * The DebounceState is passed to each {@link DebounceBehavior:interface} stage. * * @group Transformers * @see {@link DebounceBehavior:interface} * @see {@link debounce:function} */ export type DebounceState = Readonly<{ /** * Whether or not the current chunk was queued to the next Readable. */ queued: boolean; /** * The current amount of milliseconds the timer will use. */ ms: number; /** * The timer Id/handle. */ timer?: number | NodeJS.Timeout; }>; //# sourceMappingURL=State.d.ts.map