Methods
Abstract __@asyncIterator
- __@asyncIterator(): AsyncIterator<T>
forEach
- forEach(projection: function, thisArg?: any): Promise<void>
-
Parameters
-
projection: function
-
- (value: T, index: number): void | Promise<void>
-
Parameters
Returns void
|
Promise<void>
-
Optional thisArg: any
Returns Promise<void>
pipe
-
Type parameters
Parameters
Returns AsyncIterableX<R>
Static as
- as(source: string): AsyncIterableX<string>
- as<T>(source: AsyncIterableInput<T>): AsyncIterableX<T>
- as<T>(source: T): AsyncIterableX<T>
-
Parameters
Returns AsyncIterableX<string>
-
Type parameters
Parameters
Returns AsyncIterableX<T>
-
Type parameters
Parameters
Returns AsyncIterableX<T>
Static from
- from<TSource, TResult>(source: AsyncIterableInput<TSource>, selector?: function, thisArg?: any): AsyncIterableX<TResult>
-
Type parameters
Parameters
-
-
Default value selector: function = identityAsync
-
- (value: TSource, index: number): TResult | Promise<TResult>
-
Parameters
-
value: TSource
-
index: number
Returns TResult
|
Promise<TResult>
-
Optional thisArg: any
Returns AsyncIterableX<TResult>
Static of
- of<TSource>(...args: TSource[]): AsyncIterableX<TSource>
-
Type parameters
Parameters
Returns AsyncIterableX<TSource>
This class serves as the base for all operations which support [Symbol.asyncIterator].