Last updated 5 months ago
Was this helpful?
Method in
Creates a that delays for the time indicated by timeSpan , and then returns.
timeSpan
public static partial YarnTask Delay(TimeSpan timeSpan, CancellationToken token)
TimeSpan timeSpan
TimeSpan
The amount of time to wait.
CancellationToken token
CancellationToken
A token that can be used to cancel the task.
A new .