TrySetCanceled()
Raise cancellation (returns false if the awaitable was already completed or canceled).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool TrySetCanceled()
Returns
Type | Description |
|---|---|
| bool | Indicates if the cancellation was successfuly raised. |