mazey
    Preparing search index...

    Function waitTime

    • Wait for a specified amount of time.

      Usage:

      import { waitTime } from "mazey";

      waitTime(1000).then((time) => {
      console.log("waitTime:", time);
      });

      Output:

      waitTime: 1000
      

      Parameters

      • time: number

        The amount of time to wait, in milliseconds.

      Returns Promise<number>

      A Promise that resolves after the specified time has elapsed.