ToSignalExtension.ToSignal(IObservable) method¶
Defined in
Type: ToSignalExtension
Namespace: System.Reactive.Linq
Assembly: Sextant.dll
Applies to
net10.0, net9.0, net8.0, netstandard2.0
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)
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
| Name | Description |
|---|---|
T | The current type of the observable. |
Parameters
| Name | Type | Description |
|---|---|---|
observable | IObservable | The observable to convert. |
Returns: IObservable