TaskExt.WaitUntil Method

Overload List

NameDescription
Public methodStatic memberWaitUntil(Func(Boolean), CancellationToken) Creates an awaitable task that blocks until a condition is true or the task is canceled.
Public methodStatic memberWaitUntil(Func(Boolean), Int32, CancellationToken) Creates an awaitable task that blocks until a condition is true, a timeout occurs or the task is canceled.
Public methodStatic memberWaitUntil(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