0.5.5 • Published 6 years ago
rx-maybe v0.5.5
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-maybeCDN
- 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>Usage
Loading the module
CommonJS
const Maybe = require('rx-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 installTo build the coverages, run the test suite, the docs, and the distributable modules:
npm run buildChangelogs
- 0.5.4
- Cancellable and Scheduler update compliance
- 0.5.0
- Reintroduced
zip
- Reintroduced
- 0.4.0
- Massive performance boost
- Renamed
ziptozipArray - added
ambArray
- 0.3.0
- Replaced AbortController with Cancellable.
- Renamed
doOnAbortwithdoOnCancel
- 0.2.0
- now uses Schedulers
delay,delaySubscription,timeoutandtimernow 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
