Bones/node_modules/rxjs/operator/exhaustMap.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

10 lines
787 B
TypeScript

import { Observable } from '../Observable';
/**
* Returns an Observable that applies the given function to each item of the source Observable
* to create a new Observable, which are then concatenated together to produce a new Observable.
* @param {function} project function called for each item of the source to produce a new Observable.
* @param {function} [resultSelector] optional function for then selecting on each inner Observable.
* @returns {Observable} an Observable containing all the projected Observables of each item of the source concatenated together.
*/
export declare function exhaustMap<T, R, R2>(project: (value: T, index: number) => Observable<R>, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2): Observable<R2>;