Kefir.js Playground
Kefir — is a Reactive Programming library for JavaScript inspired by Bacon.js and RxJS, with focus on high performance and low memory usage.
1
2
3
4
5
6
7
const { kefirObserver } = require('api/v0.3');
const Kefir = require('kefir');
Kefir
.sequentially(10, [1, 2, 3])
.observe(kefirObserver());
If you are looking for a place to start — take a look at the interval example.
⚙️ API notes
To visualize the observables we developed a small API. Provided api/v0.3
package has a function kefirObserver(title: string): observer
, that you can call to create a kefir observer, which will display its state on the time chart in the right part of the screen.
🔗 External links
- kefirjs/kefir — Kefir repo
- kefirjs.github.io/kefir — official docs