Editar

Compartilhar via


AwaiterExtensions Class

Definition

We could just add a generic GetAwaiter to YieldInstruction and CustomYieldInstruction but instead we add specific methods to each derived class to allow for return values that make the most sense for the specific instruction type.

public ref class AwaiterExtensions abstract sealed
public static class AwaiterExtensions
type AwaiterExtensions = class
Public Module AwaiterExtensions
Inheritance
AwaiterExtensions

Methods

GetAwaiter(AssetBundleCreateRequest)
GetAwaiter(AssetBundleRequest)
GetAwaiter(AsyncOperation)
GetAwaiter(IEnumerator)
GetAwaiter(ResourceRequest)
GetAwaiter(WaitForEndOfFrame)
GetAwaiter(WaitForFixedUpdate)
GetAwaiter(WaitForSeconds)
GetAwaiter(WaitForSecondsRealtime)
GetAwaiter(WaitForUpdate)
GetAwaiter(WaitUntil)
GetAwaiter(WaitWhile)
GetAwaiter<T>(IEnumerator<T>)

Applies to