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

audit() ​

Trailing-edge sample: after a value arrives, waits ms then emits the latest value seen in that window (Tier 2).

Signature ​

ts
function audit<A>(ms: number): StoreOperator<A, A | undefined>

Parameters ​

ParameterTypeDescription
msnumberSilence period before emitting the most recent upstream value.

Returns ​

StoreOperator&lt;A, A | undefined&gt;

See Also ​

Released under the MIT License.