This is my try at implementing the callbag spec in reasonml.
Callbag.interval(1000) |> Callbag.take(3) |> Callbag.observe(d => Js.log(d));
Should log 0, 1, 2
npm run build
npm run watch
If you use vscode
, Press Windows + Shift + B
it will build automatically