Class SchedulerExtensions
- Namespace
- Ceres.Schedulers
- Assembly
- Ceres.dll
public static class SchedulerExtensions
- Inheritance
-
SchedulerExtensions
- Inherited Members
Methods
WaitAsync(SchedulerHandle, CancellationToken, bool)
Async api for scheduler
public static UniTask WaitAsync(this SchedulerHandle handle, CancellationToken cancellationToken = default, bool disposeSchedulerWhenCancelled = true)
Parameters
handleSchedulerHandlecancellationTokenCancellationTokendisposeSchedulerWhenCancelledboolAlso dispose scheduler when cancellation happen
Returns
- UniTask