Skip to content

)}

ToSignalExtension.ToSignal(IObservable) method

Defined in

Type: ToSignalExtension Namespace: System.Reactive.Linq Assembly: Sextant.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, netstandard2.0, net471

Deprecated

This extension method causes conflicts in the System.Reactive.Linq namespace

Attributes: [Obsolete("This extension method causes conflicts in the System.Reactive.Linq namespace")]

public static IObservable<Unit> ToSignal<T>(this IObservable<T> observable)

View source

Summary: Will convert an observable so that it's value is ignored and converted into just returning Unit. This allows us just to be notified when the observable signals.

Type parameters

NameDescription
TThe current type of the observable.

Parameters

NameTypeDescription
observableIObservableThe observable to convert.

Returns: IObservable -- The converted observable.