Delay(TimeSpan,CancellationToken)
Method in YarnTask
Summary
Creates a YarnTask that delays for the time indicated by timeSpan
, and then returns.
public static partial YarnTask Delay(TimeSpan timeSpan, CancellationToken token)
Parameters
The amount of time to wait.
A token that can be used to cancel the task.
Returns
A new YarnTask .