mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-19 21:32:20 +03:00
#12465 landed first and created the same new open-sse/utils/streamReadiness.ts with a different cancellation design (a `cancelled` flag and an immediate releaseLock swallowed in try/catch). This branch's version defers the release until the in-flight read completes and fire-and-forgets reader.cancel(), so a provider promise that never settles cannot make cancellation unbounded. The choice was validated against BOTH PRs' suites rather than by preference: 21/21 on the shared readiness tests and 22/22 including #12465's own Perplexity boundary test.