Unity.XR.XREAL.WaitForTaskCompletionYieldInstruction< T >
Public Member Functions | |
| WaitForTaskCompletionYieldInstruction (AsyncTask< T > task) | |
Properties | |
| override bool | keepWaiting [get] |
Detailed Description
A yield instruction that blocks a coroutine until an AsyncTask has completed.
- Template Parameters
-
T The type of the AsyncTask result.
Member Function Documentation
◆ WaitForTaskCompletionYieldInstruction()
| Unity.XR.XREAL.WaitForTaskCompletionYieldInstruction< T >.WaitForTaskCompletionYieldInstruction | ( | AsyncTask< T > | task | ) |
Constructor for WaitForTaskCompletionYieldInstruction.
- Parameters
-
task The task to wait for completion.
Property Documentation
◆ keepWaiting
|
get |
Gets a value indicating whether the coroutine instruction should keep waiting.
true if the task is incomplete, otherwise false.


