)} ,System.TimeSpan)} ,System.Reactive.Concurrency.IScheduler)} ,System.Reactive.Concurrency.IScheduler,System.TimeSpan)}
ObservableSubscriptionExtensions.WaitForError(IObservable) method¶
Defined in
Type: ObservableSubscriptionExtensions
Namespace: ReactiveUI.Primitives.Extensions.Reactive
Assembly: ReactiveUI.Primitives.Extensions.Reactive.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Overloads¶
- 1.
public static Exception? WaitForError<T>(this IObservable<T> source) - 2.
public static Exception? WaitForError<T>(this IObservable<T> source, TimeSpan timeout) - 3.
public static Exception? WaitForError<T>(this IObservable<T> source, IScheduler scheduler) - 4.
public static Exception? WaitForError<T>(this IObservable<T> source, IScheduler scheduler, TimeSpan timeout)
1. Overload¶
public static Exception? WaitForError<T>(this IObservable<T> source)
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
Returns: Exception?
2. Overload¶
public static Exception? WaitForError<T>(this IObservable<T> source, TimeSpan timeout)
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
timeout | TimeSpan | -- |
Returns: Exception?
3. Overload¶
public static Exception? WaitForError<T>(this IObservable<T> source, IScheduler scheduler)
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
scheduler | [IScheduler](# | -- |
Returns: Exception?
4. Overload¶
public static Exception? WaitForError<T>(this IObservable<T> source, IScheduler scheduler, TimeSpan timeout)
Type parameters
| Name | Description |
|---|---|
T | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
scheduler | [IScheduler](# | -- |
timeout | TimeSpan | -- |
Returns: Exception?