Basic observer library
This is a personal implementation of the observer pattern taking rxjs as a template for its API. This lib does not pretend to be a substitute or competitor of such library but rather a place for experiementation and learning.
The library tries to mimic the same API for producers (here called factories) and operators. Method signatures are extracted from the original rxjs docs.
Tests try to be as accurate as possible but the behavior may differ. Also the implementations of the factories and operators do not use utils and I tried to avoid any internal dependency.
- BREAKING CHANGE: the package has been migrated from TypeScript to
JavaScript + JsDocs for types. In this migration I've decided to make the
package ESM only so
require
would fail to load the lib. The new flag--experimental-require-module
can be used to load the lib if your app is incommonjs
format. Checkout the docs. - Add
tap
operator
- Fix barrel files to expose latest operators and factories
- Add
mergeMap
operator
- Add
withLatestFrom
operator
- Add
combineLatest
factory method
- Add
fromEventPattern
factory method