UNPKG

resourcex

Version:

ResourceX - Utilities to wrap global variables into rxjs observables with **reduced** learning curve

7 lines (6 loc) 668 B
import { Observable } from 'rxjs'; export declare const catchMergeMap: (mapper: (...args: any[]) => Promise<any>) => (in$: Observable<any[]>) => Observable<{}>; export declare const catchFlatMap: (mapper: (...args: any[]) => Promise<any>) => (in$: Observable<any[]>) => Observable<{}>; export declare const catchConcatMap: (mapper: (...args: any[]) => Promise<any>) => (in$: Observable<any[]>) => Observable<{}>; export declare const catchSwitchMap: (mapper: (...args: any[]) => Promise<any>) => (in$: Observable<any[]>) => Observable<{}>; export declare const catchExhaustMap: (mapper: (...args: any[]) => Promise<any>) => (in$: Observable<any[]>) => Observable<{}>;