• Wait for the specified number of seconds and the return.

    Parameters

    • ms: number

      Time in milliseconds to wait

    • Optional cancelToken: CancellationToken

      Cancellation token that when triggered resolves the promise

    Returns Promise<true>