External module "operators/transformators"
Functions
flatMap
- flatMap<T, K, O>(input: AsyncIterable<T>, fn: function): AsyncIterable<K>
-
Type parameters
Parameters
-
input: AsyncIterable<T>
-
fn: function
Returns AsyncIterable<K>
Output
map
- map<T, K>(input: AsyncIterable<T>, fn: function): AsyncIterable<K>
-
Type parameters
Parameters
-
input: AsyncIterable<T>
-
fn: function
-
- (value: T): Promise<K> | K
-
Parameters
Returns Promise<K>
|
K
Returns AsyncIterable<K>
Output
Creates an Observable of every incoming value using the given Function and then yields the values of that.