FromAsyncOperation(AsyncOperation, CancellationToken)
Creates an Awaitable from an existing AsyncOperation object.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Awaitable FromAsyncOperation(AsyncOperation op, CancellationToken cancellationToken = default)
Parameters
Async operation object.
Optional cancellation token.
Returns
Type | Description |
|---|---|
| Awaitable |