• Sleep

    Returns

    Undefined if no abort signal. True if aborted when abort signal is provided

    Parameters

    • ms: number

      Milliseconds

    Returns Promise<undefined>

  • Parameters

    • ms: number
    • signal: AbortSignal

    Returns Promise<boolean>

Generated using TypeDoc