Hey folks, new to clojurians 👋
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)
I tried playing around with mult
but got some weird nondeterministic behavior
you can tap
to split the channel and then use a filter
transducer on the tap
you will consume A though - these are queues