Class AsyncEnumerableExtensions
An extension class for squashing .
Inheritance
AsyncEnumerableExtensions
Assembly: Discord.Net.Core.dll
Syntax
public static class AsyncEnumerableExtensions : object
Methods
|
Improve this Doc
View Source
Flatten<T>(IAsyncEnumerable<IEnumerable<T>>)
Flattens the specified pages into one .
Declaration
public static IAsyncEnumerable<T> Flatten<T>(this IAsyncEnumerable<IEnumerable<T>> source)
Parameters
Type |
Name |
Description |
IAsyncEnumerable<IEnumerable<T>> |
source |
|
Returns
Type |
Description |
IAsyncEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
FlattenAsync<T>(IAsyncEnumerable<IEnumerable<T>>)
Flattens the specified pages into one asynchronously.
Declaration
public static async Task<IEnumerable<T>> FlattenAsync<T>(this IAsyncEnumerable<IEnumerable<T>> source)
Parameters
Type |
Name |
Description |
IAsyncEnumerable<IEnumerable<T>> |
source |
|
Returns
Type |
Description |
Task<IEnumerable<T>> |
|
Type Parameters