HalindraH
Convex Community6mo ago
5 replies
Halindra

Concatenating Streams

Hi all! I’m working with the Convex stream helpers and I understand that mergedStream can merge multiple streams and interleave their results based on a specified order. However, I’m looking for a way to strictly concatenate two or more streams—so that all items from the first stream are yielded before any items from the second stream onwards (i.e., no interleaving).

Is there a built-in helper or recommended pattern in Convex for this kind of strict concatenation?

I couldn’t find this in the docs or the Merging Streams of Convex data article.

Thanks in advance for any guidance!
Was this page helpful?