pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class SleepDelay

    A delay that really waits: on a timer, rounded up to whole milliseconds, for a millisecond or more, and by spinning for a shorter wait, which a timer cannot keep. A timer can run over by the event loop's own latency, so a program that needs exact step timing drives its motor from a microcontroller rather than from Node.

    Implements

    Index
    • Waits.

      Parameters

      • micros: number

        How long, in microseconds.

      Returns Promise<void>