Table of Contents
Rx Utils
Utility functions for rxjs
A collection of utility functions for rxjs:
import {of} from 'rxjs';
import {innerMap, logError, distinctUntilDeepChanged} from '@aloreljs/rxutils/operators';
of([1, 2, 3])
.pipe(
innerMap(n => n * 2),
logError('[Inner map error]'),
distinctUntilDeepChanged()
)
.subscribe();
Full API docs and examples for version 2.3.0 are available here.
Docs and examples for the latest version are available here.
Installation
npm install rxjs@^7.0.0 @aloreljs/rxutils;
Polyfills
Apart from your standard ES6 polyfills, you must ensure Symbol
s are polyfilled.