Skip to content

,System.Threading.CancellationToken)} ,System.Threading.CancellationToken,System.Object[])}

HubConnectionMixins.StreamObservable(HubConnection, HubMethod, CancellationToken) method

Defined in

Type: HubConnectionMixins Namespace: ReactiveUI.AspNetCore.SignalR.Client.Rx Assembly: ReactiveUI.AspNetCore.SignalR.Client.Rx.dll

Applies to

net11.0, net10.0, net471, net47, net472, net481, net48

Overloads

  1. public static IObservable<T> StreamObservable<T>(this HubConnection connection, HubMethod<T> method, CancellationToken cancellationToken) where T : notnull

  2. public static IObservable<T> StreamObservable<T>(this HubConnection connection, HubMethod<T> method, CancellationToken cancellationToken, params object?[] args) where T : notnull

1. Overload

public static IObservable<T> StreamObservable<T>(this HubConnection connection, HubMethod<T> method, CancellationToken cancellationToken) where T : notnull

View source

Type parameters

NameDescription
T--

Parameters

NameTypeDescription
connectionHubConnection--
method[HubMethod](#Rx.HubMethod-1)--
cancellationTokenCancellationToken--

Returns: IObservable

2. Overload

public static IObservable<T> StreamObservable<T>(this HubConnection connection, HubMethod<T> method, CancellationToken cancellationToken, params object?[] args) where T : notnull

View source

Type parameters

NameDescription
T--

Parameters

NameTypeDescription
connectionHubConnection--
method[HubMethod](#--
cancellationTokenCancellationToken--
params argsobject?[]--

Returns: IObservable