pinterval
    Preparing search index...

    Function sleep

    • Pauses the execution of code for a specified amount of time.

      Parameters

      • time: number

        The duration to sleep in milliseconds.

      Returns Promise<void>

      A promise that resolves after the specified duration.