Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including rx-completable with all npm packages installed. Try it out:

var rxCompletable = require("rx-completable")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

rx-completable v0.8.12

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

rx-completable

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

NPM

HitCount

PlatformBuild Status
LinuxBuild Status
WindowsBuild 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
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free