hunk.code_window: export default function publishReplay(bufferSize: number = Number.POSITIVE_INFINITY,
                                         windowTime: number = Number.POSITIVE_INFINITY,
                                         scheduler?: Scheduler) {
     return multicast.call(this,
       () => new ReplaySubject(bufferSize, windowTime, scheduler)
     );
   }
  
hunk.labels: keep keep keep replace replace replace keep
hunk.after_edit:   return multicast.call(this, new ReplaySubject(bufferSize, windowTime, scheduler));
  
hunk.file_path: src/operators/publishReplay.ts
hunk.type: replace
file: export default function isScheduler(value: any): boolean {
    return value && typeof value.schedule === 'function';
  }