MotionAwaiter
The awaiter used by await handle. Waiting ends on either completion or cancellation.
public readonly struct MotionAwaiter : ICriticalNotifyCompletionMotionAwaiter.cs · L10Members
MotionAwaiter
Create an awaiter for this handle.
public MotionAwaiter(MotionHandle handle)Parameters
handleMotionHandleHandle to control or link.
GetAwaiter
Return this awaiter.
IsCompleted
The wait can finish synchronously when the handle is inactive.
public bool IsCompleted { get; }GetResult
Finish a direct await without returning a value.
public void GetResult()OnCompleted
Register the continuation to run when the wait ends.
public void OnCompleted(Action continuation)Parameters
continuationActionContinuation to invoke when the wait finishes.
UnsafeOnCompleted
Attach the continuation to an active motion or invoke it immediately if already inactive.
public void UnsafeOnCompleted(Action continuation)Parameters
continuationActionContinuation to invoke when the wait finishes.
MeatMotion