publishReplay<T, R>(bufferSize?: number, windowTime?: number, selectorOrScheduler?: SchedulerLike | OperatorFunction<T, R>, scheduler?: SchedulerLike): UnaryFunction<Observable<T>, ConnectableObservable<R>>
Parameters
bufferSize |
Optional. Default is undefined .
Type: number .
|
windowTime |
Optional. Default is undefined .
Type: number .
|
selectorOrScheduler |
Optional. Default is undefined .
Type: SchedulerLike | OperatorFunction .
|
scheduler |
Optional. Default is undefined .
Type: SchedulerLike .
|
Returns
UnaryFunction<Observable<T>, ConnectableObservable<R>>