Function timeSource

  • Monotonic system time in milliseconds as a floating point number Use last timestamp this to ensure monotonocity is preserved over process restarts Not strictly monotonic, which means the same number may be returned

    Parameters

    • Optional lastTs: number

    Returns (() => number)

      • (): number
      • Returns number

Generated using TypeDoc