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