/tallbag-for-each-poc-static-graph

Tallbag sink that consume both pullable and listenable sources

Primary LanguageJavaScriptMIT LicenseMIT

Static graph renderer for tallbags

Proof of concept

Use this sink as a replacement for forEach, and it will automatically dump a graph visualization on the DOM. Hacky implementation.

Example use

Try it out in a CodeSandbox

const forEach = require('tallbag-for-each-poc-static-graph');

pipe(
  combine(interval(1000), interval(1500)),
  map(([x, y]) => `a${x} b${y}`),
  take(5),
  forEach(console.log)
);

screenshot