rx-to-async-iterator
Convert RxJS Observable streams to async iterators
IMPORTANT: This library only supports RxJS 4.x.
Looking for RxJS 5.0+ support? Try rxjs-to-async-iterator. (Same name but replace 'rx' with 'rxjs'.)
This module is primarily intended for use in testing more complex RxJS-based async sequences, though that doesn't preclude other use cases.
It is intended for use with mocha for testing as modified by co-mocha for coroutine/generator support.
Installation
NPM
npm install --save rx-to-async-iterator
Usage
;const Rx = ;const chai = ;const expect = chaiexpect;; // Side effect: Adds methods to Rx.Observable prototype. ;
License
MIT