pinterval
    Preparing search index...

    Function sleep

    • Pauses execution for a specified amount of time.

      time must be finite and between 0 and 2,147,483,647 milliseconds inclusive.

      If a signal is provided, aborting it clears the pending timer and rejects with the signal's reason.

      Parameters

      Returns Promise<void>