multitude
Version:
Comprehensive streams for push and pull
10 lines (9 loc) • 499 B
TypeScript
import { Push } from "../../../definitions";
import { Multicast } from '../../classes/Multicast';
export declare type ConnectOptions<U> = Multicast.Options<U>;
/**
* Creates a new Observable that multicasts the original Observable.
* The original Observable will be immediately subscribed,
* and will continue to be even if there are no subscribers.
*/
export declare function connect<T, U extends T | void = T | void>(options?: ConnectOptions<U>): Push.Transformation<T, Push.Multicast<T, U>>;