TaskExt.WaitUntil Method
Overload List
Name | Description | |
---|---|---|
WaitUntil(Func(Boolean), CancellationToken) | Creates an awaitable task that blocks until a condition is true or the task is canceled. | |
WaitUntil(Func(Boolean), Int32, CancellationToken) | Creates an awaitable task that blocks until a condition is true, a timeout occurs or the task is canceled. | |
WaitUntil(Func(Boolean), Single, Action, CancellationToken) | Creates an awaitable task that blocks until a condition is true, waiting a certain amount of seconds at maximum. An optional action can be called if the task was cancelled or it timed out. |
See Also
Reference
TaskExt Class
UltimateXR.Extensions.System.Threading Namespace