EzDevInfo.com

dispatch

Scala library for accessing HTTP services Dispatch — Dispatch

Is it possible to dispatch events on regular objects (not DOM ones)?

I just found out that FileReader dispatches events just as if it was a DOM element. Is it? I wonder if it's possible to create an object similar to FileReader, which doesn't have a representation in HTML/XML structure, but can dispatch events?


Source: (StackOverflow)