callbag-from-event
Create a callbag listenable source from events on a DOM node or a NodeJS Event Emitter.
npm install callbag-from-event
example
Create a listenable source of click events on the <body>
node.
const fromEvent = ;const forEach = ; const source = ; source; // MouseEvent ... // MouseEvent ...