Method UntilCompletedOrTimeout
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
UntilCompletedOrTimeout(Task, float)
Yields frames until task completes or timeoutSeconds of real
time pass. Returns whether the task completed. Never blocks a thread, so it is safe everywhere.
public static Task<bool> UntilCompletedOrTimeout(Task task, float timeoutSeconds)