Function sleep

  • Pause the job for the specified time in ms, e.g. yield *sleep(1000) to wait one second.

    Parameters

    • ms: number

    Returns Yielding<void>