ReactiveX how to pause observable
<p>I'm using <a href="http://reactivex.io/" rel="nofollow">ReactiveX</a> in iOS/Swift (<a href="https://github.com/ReactiveX/RxSwift" rel="nofollow">RxSwift</a>).</p>

<p>Let's say I have an observable:</p>

<pre><code>let dataUpdates = ...
</code></pre>

<p>Which I'm subscribed to:</p>

<pre><code>dataUpdates.subscribeNext({ data in
    // update tableView with data
    // maybe move to a difference cell with an animation
})
</code></pre>

<p>If I received an update while I'm animating, I don't want to receive the next update until the animation finishes (I don't want to loose the updates that happen during the animation either).</p>

<p>So all I need is to pause the emitting of that <code>dataUpdates</code> observable.</p>

<p>How can I achieve this?</p>