API reference
API reference
Select your platform
No SDKs available
No versions available

OVRTaskBuilder Struct

The AsyncMethodBuilder for OVRTask<TResult>.
Do not use this type directly. It is used by the compiler to allow OVRTask<TResult> to be used as a task-like object, that is, you can await on it from an awaitable function.
Others
T
The type of the result of an asynchronous operation.

Fields

IPooledStateMachine _pooledStateMachine[Get]
OVRTask< T >? _task[Get]

Properties

OVRTask< T > Task[Get]

Member Functions

void AwaitOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
void AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >
( ref TAwaiter awaiter,
ref TStateMachine stateMachine )
void Start< TStateMachine >
( ref TStateMachine stateMachine )
IPooledStateMachine GetPooledStateMachine< TStateMachine > ( )
void SetException
( Exception exception )
void SetResult
( T result )
void SetStateMachine
( IAsyncStateMachine stateMachine )

Static Member Functions

static OVRTaskBuilder< T > Create ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon