Reactive-Extensions/RxJS — pull request #256 by urmastalimaa (2014-08-29 08:56:46+00:00)
Title: Allow observable to be used as pauser

Possible fix for https://github.com/Reactive-Extensions/RxJS/issues/255.

This PR has 3 parts.

1. There method `pause` and `resume` in `PausableObservable` and `PausableBufferedObservable`
were faulty because they didn't account for external change to the controller.
2. `PausableObservable` and `PausableBufferedObservable` were reworked to allow passing any `Observable` as a controller.
3. The methods `pause` and `resume` were documented.