Fork me on GitHub

I'm looking for a name for a function that works like merge in that it "[t]akes a collection of source channels and returns a channel which contains all values taken from them" but closes as soon as any of the passed channels closes rather than all of them (which is what merge does).


Well, maybe a better name than merge*, that is 😄


Just realized that merge is basically a disjunction operator for channels while what I'm proposing would be the analogous conjunction ...


Naming them or and and would be a bit obscure though, I guess 🙂