Function itr8Interval

  • Returns a (pushable async) iterator that will automatically fire with the Date.now() value of when it fired (= the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC).

    When you want it to stop, call the done() method of the returned iterator, and the interval will be cleaned up.

    Returns

    an AsyncIterableIterator

    Parameters

    • intervalMilliseconds: number

    Returns AsyncIterableIterator<number> & TPushable

Generated using TypeDoc