mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
feat(fetch): implement abort (#10863)
This commit introduces fetch aborting via an AbortSignal.
This commit is contained in:
parent
3f9187c366
commit
1fb2e23a67
10 changed files with 325 additions and 63 deletions
|
@ -3227,6 +3227,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
function errorReadableStream(stream, e) {
|
||||
readableStreamDefaultControllerError(stream[_controller], e);
|
||||
}
|
||||
|
||||
/** @template R */
|
||||
class ReadableStreamGenericReader {
|
||||
/** @type {Deferred<void>} */
|
||||
|
@ -3873,6 +3877,7 @@
|
|||
window.__bootstrap.streams = {
|
||||
// Non-Public
|
||||
isReadableStreamDisturbed,
|
||||
errorReadableStream,
|
||||
// Exposed in global runtime scope
|
||||
ByteLengthQueuingStrategy,
|
||||
CountQueuingStrategy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue