-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime): no FastStream for unrefable streams
Unrefable streams are not immediately compatible with FastStreams, because it would require all FastStream implementers to support unref streaming. This is not reasonable at this time, so for now we opt all unrefable streams out of the FastStreams optimization by removing the `[_maybeRid]` marker from these `ReadableStream` objects.
- Loading branch information
1 parent
927f4e2
commit d487494
Showing
3 changed files
with
89 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -354,7 +354,6 @@ | |
resolveDns, | ||
}; | ||
window.__bootstrap.streamUtils = { | ||
readableStreamForRid, | ||
writableStreamForRid, | ||
}; | ||
})(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters