title: How to convert an Observable to a ReplaySubject?
body: <p>Here is what I'm doing now to convert an <code>Observable</code> to a <code>ReplaySubject</code>:</p>
  <pre class="lang-js prettyprint-override"><code>const subject = new Rx.ReplaySubject(1);
  
  observable.subscribe(e =&gt; subject.next(e));
  </code></pre>
  <p>Is this the best way to make the conversion, or is there a more idiomatic way?</p>