This project has been succeeded by GraphReFly. New development happens at graphrefly-ts. npm install @graphrefly/graphrefly
Skip to content

bufferTime() ​

Flushes accumulated values every ms milliseconds as an array (Tier 2).

Signature ​

ts
function bufferTime<A>(ms: number): StoreOperator<A, A[]>

Parameters ​

ParameterTypeDescription
msnumberTimer interval for flushes.

Returns ​

StoreOperator&lt;A, A[]&gt; — last flushed buffer from get().

See Also ​

Released under the MIT License.