@metreeca/core - v0.9.11
    Preparing search index...

    Function sleep

    • Asynchronously pauses execution for the specified duration.

      Non-positive delays resolve immediately without scheduling a timer.

      Parameters

      • delay: number

        The duration to sleep in milliseconds

      Returns Promise<void>

      A promise that resolves after the specified delay