Discards all pending results and resets sequence counters.
Emits all consecutively-numbered results starting from the expected sequence number. Stops at the first gap (a not-yet-completed operation).
Assigns the next sequence number for a new operation.
Stores a completed result indexed by its sequence number.
Ordered result queue for parallel-then-emit patterns.
Used by AsyncConvertTransfer and AsyncConditionTransfer when maxConcurrency > 1. Multiple async operations run in parallel, but their results are emitted to subscribers strictly in arrival order: a result with a higher sequence number waits in the queue until all lower-numbered results have been emitted.
Mechanics: