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

timeout() ​

Forwards values while resetting an idle timer; if ms passes without DATA, errors with TimeoutError (Tier 2).

Signature ​

ts
function timeout<A>(ms: number): StoreOperator<A, A>

Parameters ​

ParameterTypeDescription
msnumberMaximum silence before failure.

Returns ​

StoreOperator&lt;A, A&gt;

Released under the MIT License.