Post #2625597
2026-04-30 18:55 UTC
@mattiem@mastodon.social ah, I misspoke. The ordering issue comes from merging: when you have multiple AsyncStreams to merge into a single stream on the other end, e.g. use a task group to enumerate each and re-yield into a separate continuation/stream. (That final stream is what is enumerated by the concurrent task.)
Certainly no implicit ordering guarantees here but even if the “final yield” is done on main, ordering is not kept. It’s a solvable problem and somewhat analogous to actor reentrancy issues.
Replies (0)
No replies.