fp-ts-reactive
v0.7.0
Published
fp-ts bindings for RxJS
Readme
fp-ts bindings for rxjs
Implemented instances
MonadAlternativeFilterable
Example
import { from } from 'rxjs'
import { observable } from 'fp-ts-rxjs/Observable'
const fa = from([1, 2, 3])
const fb = observable.chain(fa, a => from([a, a + 1]))
// fb will emit 1, 2, 2, 3, 3, 4TypeScript compatibility
The stable version is tested against TypeScript 3.1.3
rxjs compatibility
| rxjs version | fp-ts-* version |
| ------------ | ---------------------- |
| rxjs@7 | [email protected] |
| rxjs@6 | [email protected] |
| rxjs@5 | [email protected] |
