• Updates a state that provides the current instant at a defined frequency. By default will initially set a timeout to update to the next frequency block then run intervals at the frequencyMs specified after. This can be overriden so that a different delay till the interval starts.

    Returns

    Current instant

    Parameters

    • frequencyMs: number = 1000

      Frequency to run the updates defaults to 1000ms.

    • Optional delayTillIntervalStart: number

      Number of milliseconds to wait before the next frequency block, defaults to the next block based on the frequency. Note on Android this should not go past 60 seconds.

    Returns Date

Generated using TypeDoc