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

ReactiveUI.Primitives.Extensions.Continuation

public class Continuation : IDisposable
Coordinates phase synchronization between a lock holder and its continuation.
public long CompletedPhases { get; }

Gets the number of completed phases.

public Continuation()

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources.

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

Locks this instance.

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

ValueTask-returning counterpart to Lock<T>. Use this at per-emission call sites where the returned task is awaited exactly once — saves the boxed Task wrapper allocation in the already-locked fast path.