[Fizz] Expose a method to abort a pending request (#21027)
* Track all suspended work while it's still pending This allows us to abort work and put everything into client rendered mode if we don't want to wait for further I/O. It also allows us to cancel fallbacks if we complete the main content before the fallback. * Expose abort API to the browser streams Since this API already returns a value, we need to use destructuring to expose more options. * Add a test including the client actually client rendering it * Use AbortSignal option for W3C streams instead of external control * Clean up listener after it's used once
S
Sebastian Markbåge committed
cf485e6f6b4d6a6e2ccfe7a12537941925316e86
Parent: 3fb11ee
Committed by GitHub <noreply@github.com>
on 3/18/2021, 4:46:15 PM