Method Subscribe
Subscribe<T>(IObservable<T>, Action)
Declaration
public static IDisposable Subscribe<T>(this IObservable<T> observable, Action onNext)
Parameters
| Type | Name | Description |
|---|---|---|
| IObservable<T> | observable | |
| Action | onNext |
Returns
| Type | Description |
|---|---|
| IDisposable |
Type Parameters
| Name | Description |
|---|---|
| T |
Subscribe<T>(IObservable<T>, Action, Action<Exception>)
Declaration
public static IDisposable Subscribe<T>(this IObservable<T> observable, Action onNext, Action<Exception> onError)
Parameters
| Type | Name | Description |
|---|---|---|
| IObservable<T> | observable | |
| Action | onNext | |
| Action<Exception> | onError |
Returns
| Type | Description |
|---|---|
| IDisposable |
Type Parameters
| Name | Description |
|---|---|
| T |