You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
531 B
7 lines
531 B
2 years ago
|
import { Observable } from '../Observable';
|
||
|
import { ConnectableObservable } from '../observable/ConnectableObservable';
|
||
|
export declare function publish<T>(this: Observable<T>): ConnectableObservable<T>;
|
||
|
export declare function publish<T>(this: Observable<T>, selector: (source: Observable<T>) => Observable<T>): Observable<T>;
|
||
|
export declare function publish<T, R>(this: Observable<T>, selector: (source: Observable<T>) => Observable<R>): Observable<R>;
|
||
|
export declare type selector<T> = (source: Observable<T>) => Observable<T>;
|