ry-rxjs-tools
v1.0.1
Published
Shared rxjs functions
Readme
rxjs tools from rebuy-de/web monorepo
This folder is used to publish parts of the rxjs tools from the web monorepo to npm. Ask @sod to publish updates, as he is package owner right now.
See https://www.npmjs.com/package/ry-rxjs-tools
Installed via npm i ry-rxjs-tools
Used like:
import {mapObserveFactory, mapObserveFactoryDefaults} from 'ry-rxjs-tools';
import {EMPTY, Subject} from 'rxjs';
const subject = new Subject();
subject.pipe(
mapObserveFactory('exhaust', {
...mapObserveFactoryDefaults.throttleAndRetryStatus500,
api: () => EMPTY,
}),
);Everything that is exported is in the index.ts
New version can be published via:
# update index.ts
# change version in package.json
npm run build
npm publish