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)
Parameters
| Name | Type | Description |
|---|---|---|
connection | HubConnection | -- |
desiredState | HubConnectionState | -- |
Returns: IObservable