@lifaon/rx-js-light
Version:
Blazing fast Observables
11 lines (10 loc) • 467 B
TypeScript
import { IObservable } from '../../type/observable.type';
/**
* Receives data, performs some operation on it, and may emits same or other data
* Similar to ObserverPipe but works with Observable instead
* => Lazy loaded PUSH destination (return) and Lazy loaded PUSH source (subscribe)
*/
export interface IObservablePipe<GIn, GOut> {
(subscribe: IObservable<GIn>): IObservable<GOut>;
}
export declare type IGenericObservablePipe = IObservablePipe<any, any>;