Amp\Iterator\concat

function concat(array $iterators): Amp\Iterator

Concatenates the given iterators into a single iterator, emitting values from a single iterator at a time. The prior iterator must complete before values are emitted from any subsequent iterators. Iterators are concatenated in the order given (iteration order of the array).

Type Parameter Description Default Value
array $iterators No documentation. none