This is a set of examples, aimed at replicating the functionality offered by the Clojure core.async library, as shown here.

Processes running at different intervals:

Patching DOM events through a Channel (mouse coordinates relative to the window):

Patching DOM events through a Channel (mouse coordinates relative to container):

Patching multiple DOM events through channels:

:

Patching multiple DOM events through channels, using alts:

: