Fork me on GitHub
#core-async
<
2022-03-07
>
tianshu07:03:14

Is tap/untap a high cost operation? My case is call tap to a mult when a web request comes in, and untap after one item is received. To implement a long pull.

Ferdinand Beyer10:03:43

tap/`untap` essentially justs adds/removes the channel from a map atom, so this is pretty cheap.

tianshu11:03:39

Thank you!