UnityAsyncExtensions.ResourceRequestAwaiter Struct
Namespace: Cysharp.Threading.Tasks
Assembly: cs.temp.dll.dll
public struct ResourceRequestAwaiter : ICriticalNotifyCompletion, INotifyCompletion
Implements
System.Runtime.CompilerServices.ICriticalNotifyCompletion
System.Runtime.CompilerServices.INotifyCompletion
Members
Constructors
Name | Description |
---|---|
ResourceRequestAwaiter(ResourceRequest) |
Properties
Name | Description |
---|---|
IsCompleted |
Methods
Name | Description |
---|---|
GetResult() | |
OnCompleted(Action) | |
UnsafeOnCompleted(Action) |
Constructors
ResourceRequestAwaiter(ResourceRequest)
public ResourceRequestAwaiter(ResourceRequest asyncOperation)
Parameters
asyncOperation
ResourceRequest
Properties
IsCompleted
public bool IsCompleted { get; }
Property Value
- System.Boolean
Methods
GetResult()
public UnityEngine.Object GetResult()
Returns
- UnityEngine.Object
OnCompleted(Action)
public void OnCompleted(Action continuation)
Parameters
continuation
System.Action
UnsafeOnCompleted(Action)
public void UnsafeOnCompleted(Action continuation)
Parameters
continuation
System.Action
Implements
System.Runtime.CompilerServices.ICriticalNotifyCompletion
System.Runtime.CompilerServices.INotifyCompletion