UNPKG

@rx-angular/cdk

Version:

@rx-angular/cdk is a Component Development Kit for ergonomic and highly performant angular applications. It helps to to build Large scale applications, UI libs, state management, rendering systems and much more. Furthermore the unique way of mixing reacti

17 lines (16 loc) 778 B
import { Observable, OperatorFunction, Subject } from 'rxjs'; /** * A factory function returning an object to handle the process of merging Observable next notifications into one * Observable. This API takes away the clumsy handling of static values and Observable, reduces the number of * emissions by: * - only merging distinct Observables * - only emit distinct values of the merged result * * You can next a Observable of `U` multiple times and merge them into the Observable exposed under one optimized * `values$` * */ export declare function coerceAllFactory<U, R = U>(subjectFactory?: () => Subject<Observable<U> | U>, flattenOperator?: OperatorFunction<Observable<U>, R>): { values$: Observable<R>; next(observable: Observable<U> | U): void; };