public static IDisposable SubscribeAwait <TSource>(this IUniTaskAsyncEnumerable <TSource> source, Func <TSource, UniTask> onNext, Action onCompleted) { Error.ThrowArgumentNullException(source, nameof(source)); Error.ThrowArgumentNullException(onNext, nameof(onNext)); Error.ThrowArgumentNullException(onCompleted, nameof(onCompleted)); var cts = new CancellationTokenDisposable(); Subscribes.SubscribeAwaitCore(source, onNext, Subscribes.NopError, onCompleted, cts.Token).Forget(); return(cts); }