hunk.code_window: import Subject from '../Subject';
   import multicast from './multicast';
   function subjectFactory() {
     return new Subject();
   }
   export default function publish() {
  
hunk.labels: keep keep keep replace replace replace replace keep
hunk.file_path: src/operators/publish.ts
hunk.type: replace
file: import Subject from '../Subject';
  import multicast from './multicast';
  
  function subjectFactory() {
    return new Subject();
  }
  
  export default function publish() {
    return multicast.call(this, subjectFactory);
  }