Method OnErrorResumeNext
View SourceOnErrorResumeNext<TSource>(IAsyncEnumerable<TSource>, IAsyncEnumerable<TSource>)
Creates a sequence that concatenates both given sequences, regardless of whether an error occurs.
Declaration
public static IAsyncEnumerable<TSource> OnErrorResumeNext<TSource>(this IAsyncEnumerable<TSource> first, IAsyncEnumerable<TSource> second)
Parameters
Type | Name | Description |
---|---|---|
IAsyncEnumerable<TSource> | first | First sequence. |
IAsyncEnumerable<TSource> | second | Second sequence. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<TSource> | Sequence concatenating the elements of both sequences, ignoring errors. |
Type Parameters
Name | Description |
---|---|
TSource | Source sequence element type. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
OnErrorResumeNext<TSource>(params IAsyncEnumerable<TSource>[])
Creates a sequence that concatenates the given sequences, regardless of whether an error occurs in any of the sequences.
Declaration
public static IAsyncEnumerable<TSource> OnErrorResumeNext<TSource>(params IAsyncEnumerable<TSource>[] sources)
Parameters
Type | Name | Description |
---|---|---|
IAsyncEnumerable<TSource>[] | sources | Source sequences. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<TSource> | Sequence concatenating the elements of the given sequences, ignoring errors. |
Type Parameters
Name | Description |
---|---|
TSource | Source sequence element type. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
OnErrorResumeNext<TSource>(IEnumerable<IAsyncEnumerable<TSource>>)
Creates a sequence that concatenates the given sequences, regardless of whether an error occurs in any of the sequences.
Declaration
public static IAsyncEnumerable<TSource> OnErrorResumeNext<TSource>(this IEnumerable<IAsyncEnumerable<TSource>> sources)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IAsyncEnumerable<TSource>> | sources | Source sequences. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<TSource> | Sequence concatenating the elements of the given sequences, ignoring errors. |
Type Parameters
Name | Description |
---|---|
TSource | Source sequence element type. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
OnErrorResumeNext<TSource>(IAsyncEnumerable<IAsyncEnumerable<TSource>>)
Creates a sequence that concatenates the given sequences, regardless of whether an error occurs in any of the sequences.
Declaration
public static IAsyncEnumerable<TSource> OnErrorResumeNext<TSource>(this IAsyncEnumerable<IAsyncEnumerable<TSource>> sources)
Parameters
Type | Name | Description |
---|---|---|
IAsyncEnumerable<IAsyncEnumerable<TSource>> | sources | Source sequences. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<TSource> | Sequence concatenating the elements of the given sequences, ignoring errors. |
Type Parameters
Name | Description |
---|---|
TSource | Source sequence element type. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|