Skip to content

HubConnectionMixins.WaitForState(HubConnection, HubConnectionState) 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

public static IObservable<HubConnectionState> WaitForState(this HubConnection connection, HubConnectionState desiredState)

View source

Parameters

NameTypeDescription
connectionHubConnection--
desiredStateHubConnectionState--

Returns: IObservable