NRSDKApiForUnity
Classes
XRXREALWaitForTaskCompletionYieldInstruction1G
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
TThe type of the AsyncTask result.

Member Function Documentation

◆ WaitForTaskCompletionYieldInstruction()

Unity.XR.XREAL.WaitForTaskCompletionYieldInstruction< T >.WaitForTaskCompletionYieldInstruction ( AsyncTask< T > task)

Constructor for WaitForTaskCompletionYieldInstruction.

Parameters
taskThe task to wait for completion.

Property Documentation

◆ keepWaiting

override bool Unity.XR.XREAL.WaitForTaskCompletionYieldInstruction< T >.keepWaiting
get

Gets a value indicating whether the coroutine instruction should keep waiting.

true if the task is incomplete, otherwise false.