Reactive Extenstions - represents a deferred computation and emission of a single value, no value at all or an exception.
Platform | Build Status |
---|---|
Linux | |
Windows |
NPM
npm i rx-maybe
CDN
- jsDelivr
<script src="https://cdn.jsdelivr.net/npm/rx-cancellable/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/rx-scheduler/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/rx-maybe/dist/index.min.js"></script>
- unpkg
<script src="https://unpkg.com/rx-cancellable/dist/index.min.js"></script>
<script src="https://unpkg.com/rx-scheduler/dist/index.min.js"></script>
<script src="https://unpkg.com/rx-maybe/dist/index.min.js"></script>
const Maybe = require('rx-maybe');
Loading the CommonJS module provides the Maybe class.
Loading the JavaScript file for the rx-maybe provides the Maybe class
You can read the documentation at the official doc site
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
- 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