Promise.when for Array<Promise<Void>>

Hello. I wrote a version of "when" in swift which accept an array of Promise<Void>. I know that you are already in the process of writing a generic version, but maybe the specific Void case can be useful in the while. I already tested the 2 functions and they work fine.