JSFiddle - React, Tailwind, and code Playground
by amatiasq
HTML
<script src="http://amatiasq.github.io/streams/dist/stream.min.js"></script>
<script src="http://amatiasq.com/fiddle-console.js"></script>
JavaScript
var stream = ReadableStream.interval();
var subscription = stream.log();
// If we don't cancel the subscription we'll receive values for ever
setTimeout(subscription.cancel, 200);