UniTask
Show / Hide Table of Contents

AsyncUnityEventHandler Class

Namespace: Cysharp.Threading.Tasks
Assembly: UniTask.dll
public class AsyncUnityEventHandler : IUniTaskSource, IValueTaskSource, IAsyncClickEventHandler, IDisposable
Inheritance
object → AsyncUnityEventHandler
Implements
IUniTaskSource
IValueTaskSource
IAsyncClickEventHandler
IDisposable

Members

Constructors

Name Description
AsyncUnityEventHandler(UnityEvent, CancellationToken, bool)

Methods

Name Description
Dispose()
OnInvokeAsync()

Constructors

AsyncUnityEventHandler(UnityEvent, CancellationToken, bool)

public AsyncUnityEventHandler(UnityEvent unityEvent, CancellationToken cancellationToken, bool callOnce)
Parameters
unityEvent UnityEvent
cancellationToken CancellationToken
callOnce bool

Methods

Dispose()

public void Dispose()

OnInvokeAsync()

public UniTask OnInvokeAsync()
Returns
UniTask

Implements

IUniTaskSource
IValueTaskSource
IAsyncClickEventHandler
IDisposable

Extension Methods

CancellationTokenExtensions.AddTo(IDisposable, CancellationToken)
Back to top Copyright © Cysharp, Inc. | Generated by DocFX