ReactiveUI.Primitives.Extensions.Continuation
Pairs an emitted item with a release handle and completes the producer's task when the handle is disposed.
namespace ReactiveUI.Primitives.Extensions
{
public class Continuation : IDisposable
{
public long CompletedPhases { get; }
public void Dispose();
public Task Lock<[System.Runtime.CompilerServices.Nullable(2)] T>(T item, IObserver<(T Value, IDisposable Sync)> observer);
public ValueTask LockValueTask<[System.Runtime.CompilerServices.Nullable(2)] T>(T item, IObserver<(T Value, IDisposable Sync)> observer);
protected virtual void Dispose(bool disposing);
public Continuation();
}
}