Skip to content

)}

BehaviorSubject.Subscribe(IObserver) method

Defined in

Type: BehaviorSubject Namespace: System.Reactive.Subjects Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

public override IDisposable Subscribe(IObserver<T> observer)

Inherited documentation

These docs were inherited from SubjectBase<T>. The member doesn't override them on this type.

Summary: Notifies the provider that an observer is to receive notifications.

Parameters

NameTypeDescription
observerIObserverThe object that is to receive notifications.

Returns: IDisposable -- A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.