frontend/.pnpm-store/v3/files/2b/1313dab298eda1cdfa2c673546a6413a8f65a3622a56e105ba8c41b637dbe950cd277bb8a1ecfc681b536ade4f5ed0e01a5069ed4fa1eec22d241302a81970

18 lines
1.3 KiB
Plaintext

import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { ObservableInput, SchedulerLike } from '../types';
/**
* A process embodying the general "merge" strategy. This is used in
* `mergeMap` and `mergeScan` because the logic is otherwise nearly identical.
* @param source The original source observable
* @param subscriber The consumer subscriber
* @param project The projection function to get our inner sources
* @param concurrent The number of concurrent inner subscriptions
* @param onBeforeNext Additional logic to apply before nexting to our consumer
* @param expand If `true` this will perform an "expand" strategy, which differs only
* in that it recurses, and the inner subscription must be schedule-able.
* @param innerSubScheduler A scheduler to use to schedule inner subscriptions,
* this is to support the expand strategy, mostly, and should be deprecated
*/
export declare function mergeInternals<T, R>(source: Observable<T>, subscriber: Subscriber<R>, project: (value: T, index: number) => ObservableInput<R>, concurrent: number, onBeforeNext?: (innerValue: R) => void, expand?: boolean, innerSubScheduler?: SchedulerLike, additionalFinalizer?: () => void): () => void;
//# sourceMappingURL=mergeInternals.d.ts.map