github Reactive-Extensions/RxJS v2.2.28
Reactive Extensions for JavaScript (RxJS) version 2.2.28

latest releases: v4.1.0, v4.0.8, v4.0.7...
9 years ago

Minor update from previous versions to include the following:

New Features

  • Added Rx.Observable.of to match Array.of

Rx.Observable.of

To match the semantics of ES6 Arrays, we have added Rx.Observable.of and Rx.Observable.ofWithScheduler to match the ES6 proposal of Array.of. The latter is required for scheduling purposes if you wish to swap a scheduler for the default scheduler.

Below is an example of its usage:

var source = Rx.Observable.of(1,2,3);

var subscription = source.subscribe(
    function (x) {
        console.log('Next: ' + x);
    },
    function (err) {
        console.log('Error: ' + err);   
    },
    function () {
        console.log('Completed');   
    });

// => Next: 1
// => Next: 2
// => Next: 3
// => Completed

Bug Fixes

  • Issue #203 - Rx.Observable.timer fails with rx.lite.js
  • Issue #196 - Add back Rx.Observable#shareReplay to all distributions
  • Issue #189 - Rx.AnonymousObservable refactored

Don't miss a new RxJS release

NewReleases is sending notifications on new releases.