UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

7 lines (6 loc) 707 B
import { IDefaultInNotificationsUnion } from '../../../../../misc/notifications/default-notifications-union.type'; import { IObservable } from '../../../../type/observable.type'; import { IThenObservableOnFulfilled } from './then-observable-on-fulfilled.type'; import { IThenObservableOnRejected } from './then-observable-on-rejected.type'; export declare type IThenObservableInNotifications<GInNextValue> = IDefaultInNotificationsUnion<GInNextValue>; export declare function thenObservable<GInNextValue, GOut>(subscribe: IObservable<IThenObservableInNotifications<GInNextValue>>, onFulfilled: IThenObservableOnFulfilled<GInNextValue, GOut>, onRejected: IThenObservableOnRejected<GOut>): IObservable<GOut>;