const observable = type => target => observe => { target.addEventListener(type, observe, true); return f => f(observe, target, type); };
Really helpful post, however, I disagree with the upper statement.
Iven Marquardt

I think you are defining here a function that returns Observable, so perhaps createObservable might be a better name?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.