Creates an asynchronous iterable that concurrently emits all values yielded
from zero or more synchronous or asynchronous iterables.
When the iterables provided are synchronous, merge is equivalent to
interleave, but when one or more of the iterables are asynchronous, values
will be yielded from each iterable as soon as they are ready.
Creates an asynchronous iterable that concurrently emits all values yielded from zero or more synchronous or asynchronous iterables.
When the iterables provided are synchronous,
merge
is equivalent tointerleave
, but when one or more of the iterables are asynchronous, values will be yielded from each iterable as soon as they are ready.Inspired by RxJS's
merge
operator.