rx-maybe
Reactive Extenstions - represents a deferred computation and emission of a single value, no value at all or an exception.
Platform | Build Status |
---|---|
Linux | |
Windows |
Install
NPM
npm i rx-maybe
CDN
- jsDelivr
- unpkg
Usage
Loading the module
CommonJS
const Maybe = ;
Loading the CommonJS module provides the Maybe class.
Browser
Loading the JavaScript file for the rx-maybe provides the Maybe class
Documentation
You can read the documentation at the official doc site
Build
Clone the repo first, then run the following to install the dependencies
npm install
To build the coverages, run the test suite, the docs, and the distributable modules:
npm run build
Changelogs
- 0.5.4
- Cancellable and Scheduler update compliance
- 0.5.0
- Reintroduced
zip
- Reintroduced
- 0.4.0
- Massive performance boost
- Renamed
zip
tozipArray
- added
ambArray
- 0.3.0
- Replaced AbortController with Cancellable.
- Renamed
doOnAbort
withdoOnCancel
- 0.2.0
- now uses Schedulers
delay
,delaySubscription
,timeout
andtimer
now acceptsSchedulers
(defaults toScheduler.current
).- added two new operators:
observeOn
(observes the emissions on a given Scheduler) andsubscribeOn
(subscribes to a given Single on a given Scheduler).
- 0.1.0
- Release