)} ,System.Threading.CancellationToken)} ,System.Nullable{System.Int32},System.Threading.CancellationToken)} ,Microsoft.AspNetCore.SignalR.Client.HubConnection)} ,Microsoft.AspNetCore.SignalR.Client.HubConnection,System.Threading.CancellationToken)} ,Microsoft.AspNetCore.SignalR.Client.HubConnection,System.Nullable{System.Int32},System.Threading.CancellationToken)}
HubConnectionMixins.Start(IObservable) method¶
Defined in
Type: HubConnectionMixins
Namespace: ReactiveUI.AspNetCore.SignalR.Client.Rx.Reactive
Assembly: ReactiveUI.AspNetCore.SignalR.Client.Rx.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection) -
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection, CancellationToken cancellationToken) -
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection, int? retryCount, CancellationToken cancellationToken) -
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection) where T : notnull -
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection, CancellationToken cancellationToken) where T : notnull -
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection, int? retryCount, CancellationToken cancellationToken) where T : notnull
1. Overload¶
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection)
Parameters
| Name | Type | Description |
|---|---|---|
connection | IObservable | -- |
Returns: IObservable
2. Overload¶
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection, CancellationToken cancellationToken)
Parameters
| Name | Type | Description |
|---|---|---|
connection | IObservable | -- |
cancellationToken | CancellationToken | -- |
Returns: IObservable
3. Overload¶
public static IObservable<HubConnection> Start(this IObservable<HubConnection> connection, int? retryCount, CancellationToken cancellationToken)
Parameters
| Name | Type | Description |
|---|---|---|
connection | IObservable | -- |
retryCount | int? | -- |
cancellationToken | CancellationToken | -- |
Returns: IObservable
4. Overload¶
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection) where T : notnull
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
ignore | IObservable | -- |
connection | HubConnection | -- |
Returns: IObservable
5. Overload¶
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection, CancellationToken cancellationToken) where T : notnull
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
ignore | IObservable | -- |
connection | HubConnection | -- |
cancellationToken | CancellationToken | -- |
Returns: IObservable
6. Overload¶
public static IObservable<HubConnection> Start<T>(this IObservable<T> ignore, HubConnection connection, int? retryCount, CancellationToken cancellationToken) where T : notnull
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
ignore | IObservable | -- |
connection | HubConnection | -- |
retryCount | int? | -- |
cancellationToken | CancellationToken | -- |
Returns: IObservable