rx-completable

0.8.12 • Public • Published

rx-completable

Reactive Extensions - represents a deferred computation without any value but only indication for completion or exception.

NPM

HitCount

Platform Build Status
Linux Build Status
Windows Build status

codecov Known Vulnerabilities

Install

NPM

npm i rx-completable

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-completable/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-completable/dist/index.min.js"></script>

Usage

Loading the module

CommonJS

const Completable = require('rx-completable');

Loading the CommonJS module provides the Completable class.

Browser

Loading the JavaScript file for the rx-completable provides the Completable 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.8.9
    • Cancellable and Scheduler update compliance
  • 0.8.0
    • Performance boost
    • added ambArray, concatArray and mergeArray
    • fixed error typos
  • 0.7.0
    • Replaced AbortController with Cancellable.
    • Renamed doOnAbort with doOnCancel
  • 0.6.0
    • now uses Schedulers
    • delay, delaySubscription, timeout and timer now accepts Schedulers (defaults to Scheduler.current).
    • added two new operators: observeOn (observes the emissions on a given Scheduler) and subscribeOn (subscribes to a given Single on a given Scheduler).
  • 0.5.0
    • Fixed fromCallable and fromPromise from subscription overhead.
  • 0.4.0
    • Replaced operator bindings with operator reference + Function.call
  • 0.3.0
    • Fixed operators not guarding observers.
  • 0.1.0
    • Release

Package Sidebar

Install

npm i rx-completable

Weekly Downloads

2

Version

0.8.12

License

MIT

Unpacked Size

159 kB

Total Files

6

Last publish

Collaborators

  • lxsmnsyc