import { roundrobin } from "https://deno.land/x/itertools@v1.1.1/more-itertools.ts";
Yields the next item from each iterable in turn, alternating between them. Continues until all items are exhausted.
>>> [...roundrobin([1, 2, 3], [4], [5, 6, 7, 8])]
[1, 4, 5, 2, 6, 3, 7, 8]
Parameters
...iters: Array<Iterable<T>>