ReactiveUI.Primitives.Advanced.TaskAnyWitness<T>
Task-producing terminal sink that completes with whether a source produced a matching value.
Gets the task completed by this sink.
Initializes a new instance of the TaskAnyWitness<T> class.
Initializes a new instance of the TaskAnyWitness<T> class.
Subscribes to source and completes with whether any value was observed.
Subscribes to source and completes with whether any value was observed.
Subscribes to source and completes with whether any value matched predicate.
public static Task<bool> AnyAsync(IObservable<T> source, Func<T, bool> predicate, CancellationToken cancellationToken)
Subscribes to source and completes with whether any value matched predicate.
Registers cancellation after construction.
Assigns the source subscription.