AsyncCancelTrigger Class
Namespace: Cysharp.Threading.Tasks.Triggers
Assembly: cs.temp.dll.dll
public sealed class AsyncCancelTrigger : AsyncTriggerBase<BaseEventData>, IUniTaskAsyncEnumerable<BaseEventData>, ICancelHandler
Members
Methods
Name | Description |
---|---|
GetOnCancelAsyncHandler() | |
GetOnCancelAsyncHandler(CancellationToken) | |
OnCancelAsync() | |
OnCancelAsync(CancellationToken) |
Methods
GetOnCancelAsyncHandler()
public IAsyncOnCancelHandler GetOnCancelAsyncHandler()
Returns
GetOnCancelAsyncHandler(CancellationToken)
public IAsyncOnCancelHandler GetOnCancelAsyncHandler(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
OnCancelAsync()
public UniTask<BaseEventData> OnCancelAsync()
Returns
- UniTask<BaseEventData>
OnCancelAsync(CancellationToken)
public UniTask<BaseEventData> OnCancelAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- UniTask<BaseEventData>
Implements
ICancelHandler