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

interval() ​

Emits increasing integers 0, 1, 2, … every ms milliseconds (Tier 2 source).

Signature ​

ts
function interval(ms: number, opts?: IntervalOptions): ProducerStore<number>

Parameters ​

ParameterTypeDescription
msnumberTick interval.
optsIntervalOptionsOptional configuration.

Returns ​

ProducerStore&lt;number&gt;

Released under the MIT License.