RxJS Playground

A blank canvas to play / experiment with RxJS: https://github.com/Reactive-Extensions/RxJS

by quangcanh2975

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.7/rx.all.js"></script>

JavaScript

import {
  pipe,
  Observable,
  interval,
  Subject,
  Subscription
} from "rxjs";


const source = Observable.create(async observer => {
  observer("hello");
});

source.subscribe(function(data) {
  console.log("received data", data);
});