Struct Completer<TResult>
Handle to settle a promise.
Namespace: UnityEngine.GameFoundation.Promise
Assembly: solution.dll
Syntax
public struct Completer<TResult>
Type Parameters
Name | Description |
---|---|
TResult | Type of the result of the async operation. |
Methods
Name | Description |
---|---|
Reject(Exception) | Reject the handled promise for the given reason. |
Resolve(TResult) | Fulfill the handled promise with the given data. |