EnumeratorAsyncExtensions Class
Assembly: cs.temp.dll.dll
public static class EnumeratorAsyncExtensions
Inheritance
System.Object →
EnumeratorAsyncExtensions
Members
Methods
Methods
GetAwaiter<T>(T)
public static UniTask.Awaiter GetAwaiter<T>(this T enumerator)
where T : IEnumerator
ToUniTask(IEnumerator, PlayerLoopTiming, CancellationToken)
public static UniTask ToUniTask(this IEnumerator enumerator, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken))
Parameters
enumerator
IEnumerator
timing
PlayerLoopTiming
cancellationToken
System.Threading.CancellationToken
WithCancellation(IEnumerator, CancellationToken)
public static UniTask WithCancellation(this IEnumerator enumerator, CancellationToken cancellationToken)
Parameters
enumerator
IEnumerator
cancellationToken
System.Threading.CancellationToken