Struct MainThreadTaskAwaiter
Represents an awaiter for the SyncToMainThreadTask.
public readonly struct MainThreadTaskAwaiter : INotifyCompletion
- Implements
- Inherited Members
Properties
IsCompleted
Gets a value indicating whether the task is completed.
public bool IsCompleted { get; }
Property Value
Methods
GetResult()
Gets the result of the task.
public void GetResult()
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
continuationAction