@idiomancy it's not the case of use a transducer on channel?
as is frequently the case with core.async, I ended up completely rethinking my approach
Oh no!!
I saw mix, and I thought it was like the inverse of mult, like,
"put value on out-chan when and only when a value has been consumed from each of the inputs"
like, I thought if there was
(toggle (mix out) {in1 {} in2 {}})
that takes to out
would park until a put to both in1
and in2
had occurred
is there a thing that does that??
blocking-mix or something
@idiomancy wouldn't (async/map f in1 in2)
do this - calling f
for each pair of values from in1 / in2 and always waiting for both?