@blinkk/degu
    Preparing search index...

    Function wait

    • A simple function that resolves after a specific amoutn of time. This is useful to create a delay with await.

      console.log('hohoho');
      await func.wait(500);
      console.log('hohoho after 500ms');

      Parameters

      • time: number

      Returns Promise<void>