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

ReactiveUI.Primitives.Internal.DetachableObserver<TOwner, T>

sealed class DetachableObserver<TOwner, T> : IObserver<T>, IDisposable
Forwards notifications until disposed, then detaches from its owner once.
public DetachableObserver(TOwner owner, IObserver<T> observer, Action<TOwner, IObserver<T>> remove, IDisposable resource = null)

Forwards notifications until disposed, then detaches from its owner once.

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(T value)