hunk.code_window: export default function publish() {
     return multicast.call(this, subjectFactory);
   }
  
hunk.labels: keep replace keep
hunk.after_edit:   return multicast.call(this, new Subject());
  
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);
  }