Combining and Controlling Channels with core.async's merge and mix


#1

Combining and Controlling Channels with core.async’s merge and mix

merge and mix are similar features in core.async. This post explains each and how they differ.

This is a more advanced topic, but it shows the power of abstraction that core.async gives you. merge combines several channels into one, while mix creates something more like a channel mixer, like an audio mixer, that lets you plug in channels, mute them, and remove channels. Worth checking out if they could be useful in your own projects.