core-async

2019-03-08T20:21:18.011500Z

Hey folks, new to clojurians 👋

2019-03-08T20:22:16.012700Z

I'm wondering how I can idiomatically filter a channel, while maintaining the original. For example, say I've got a channel (A) of ints, and want to create a channel (B) of the even ints without consuming (A)

2019-03-08T20:23:04.013300Z

I tried playing around with mult but got some weird nondeterministic behavior

alexmiller 2019-03-08T21:23:36.013800Z

you can tap to split the channel and then use a filter transducer on the tap

alexmiller 2019-03-08T21:24:18.014300Z

you will consume A though - these are queues