WaitFor(Double, ITask) Method |
Suspend coroutine until another task completes or there is a timeout.
Namespace: Demo3D.NativeAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static ITask For(
double timeout,
ITask task
)
Parameters
- timeout Double
- Timeout to wait for.
- task ITask
- Task to wait for.
Return Value
ITaskA task representing the wait for the other task or timeout.
See Also