Function wait

  • Parameters

    • timeout: number = 0

      Time to wait

    Returns Promise<void>

    Description

    Promise-wrap for setTimeout

    Example

      await timer.wait(1000);
    

Generated using TypeDoc