-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove abortable iterator (#488)
AbortableSource is slow because it races promises against every chunk causing extra async work. It's only really necessary if we're going to pass the source off to another component. Here we don't do that so it's simpler to just add a listener for the abort event and close the stream.
- Loading branch information
1 parent
b4e6a8d
commit e39b2e2
Showing
2 changed files
with
18 additions
and
11 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
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