ReactiveUI.Primitives.Advanced.SubscriptionSlots
Helpers for the interlocked single-assignment subscription slots shared by the catch-style sinks
(RecoverSignal, ResumeSignal): a slot holds at most one live
subscription and, once the sink is disposed, swaps to a sentinel so a late assignment is disposed instead of
stored.
namespace ReactiveUI.Primitives.Advanced
{
public static class SubscriptionSlots
{
public static readonly IDisposable Disposed;
public static void Release(ref IDisposable slot);
public static void Assign(ref IDisposable slot, IDisposable subscription);
}
}