Struct Completer
Handle to settle a promise.
Namespace: UnityEngine.Promise
Assembly: solution.dll
Syntax
public struct Completer
Properties
| Name | Description |
|---|---|
| None | Can be used to replace a completer for process you don't need the feedback from. |
Methods
| Name | Description |
|---|---|
| Reject(Exception) | Rejects the handled promise for the given reason. |
| Resolve() | Fulfills the handled promise. |
| SetProgression(int, int) | Sets the progression of the promise. |
Operators
| Name | Description |
|---|---|
| implicit operator Rejectable(Completer) | Implicitly converts a Completer into a Rejectable in case a method only needs to be able to reject the promise. |