source: trip-planner-front/node_modules/rxjs/internal/operators/multicast.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import { Subject } from '../Subject';
2import { Operator } from '../Operator';
3import { Subscriber } from '../Subscriber';
4import { Observable } from '../Observable';
5import { ConnectableObservable } from '../observable/ConnectableObservable';
6import { OperatorFunction, UnaryFunction, ObservedValueOf, ObservableInput } from '../types';
7export declare function multicast<T>(subject: Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
8export declare function multicast<T, O extends ObservableInput<any>>(subject: Subject<T>, selector: (shared: Observable<T>) => O): UnaryFunction<Observable<T>, ConnectableObservable<ObservedValueOf<O>>>;
9export declare function multicast<T>(subjectFactory: (this: Observable<T>) => Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
10export declare function multicast<T, O extends ObservableInput<any>>(SubjectFactory: (this: Observable<T>) => Subject<T>, selector: (shared: Observable<T>) => O): OperatorFunction<T, ObservedValueOf<O>>;
11export declare class MulticastOperator<T, R> implements Operator<T, R> {
12 private subjectFactory;
13 private selector;
14 constructor(subjectFactory: () => Subject<T>, selector: (source: Observable<T>) => Observable<R>);
15 call(subscriber: Subscriber<R>, source: any): any;
16}
Note: See TracBrowser for help on using the repository browser.