Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | import { Subject } from '../Subject';
|
---|
2 | import { Operator } from '../Operator';
|
---|
3 | import { Subscriber } from '../Subscriber';
|
---|
4 | import { Observable } from '../Observable';
|
---|
5 | import { ConnectableObservable } from '../observable/ConnectableObservable';
|
---|
6 | import { OperatorFunction, UnaryFunction, ObservedValueOf, ObservableInput } from '../types';
|
---|
7 | export declare function multicast<T>(subject: Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
|
---|
8 | export declare function multicast<T, O extends ObservableInput<any>>(subject: Subject<T>, selector: (shared: Observable<T>) => O): UnaryFunction<Observable<T>, ConnectableObservable<ObservedValueOf<O>>>;
|
---|
9 | export declare function multicast<T>(subjectFactory: (this: Observable<T>) => Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
|
---|
10 | export declare function multicast<T, O extends ObservableInput<any>>(SubjectFactory: (this: Observable<T>) => Subject<T>, selector: (shared: Observable<T>) => O): OperatorFunction<T, ObservedValueOf<O>>;
|
---|
11 | export 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.