@cxl/rx
v0.8.1
Published
Lightweight reactiveX implementation
Downloads
62
Readme
@cxl/rx
Lightweight reactiveX implementation
Project Details
Installation
npm install @cxl/rx
Usage
import { of, be } from '@cxl/rx';
const obs = of('Hello World');
obs.subscribe(val => console.log(val)).unsubscribe();
// Using a BehaviorSubject
const ref = be('');
ref.filter(val => !!val).tap(val => console.log(val)).subscribe();
ref.next('Hello World');
Features
- Lightweight