<PackageReference Include="ReactiveUI.Primitives.Core" Version="8.2.0" />

ReactiveUI.Primitives.Extensions.Continuation

public class Continuation : IDisposable
Pairs an emitted item with a release handle and completes the producer's task when the handle is disposed.
public long CompletedPhases { get; }

Gets the number of handoffs whose delivery and release have both completed.

public Continuation()

public void Dispose()

Releases the active handoff and disposes the continuation.

protected virtual void Dispose(bool disposing)

Releases the resources held by this continuation.

public Task Lock<T>(T item, IObserver<ValueTuple<T, IDisposable>> observer)

Emits an item paired with this release handle, or drops the item while another handoff holds the gate.

public ValueTask LockValueTask<T>(T item, IObserver<ValueTuple<T, IDisposable>> observer)

Emits an item with this release handle and returns a value task for its handoff.