-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the "ReaderHeadersReady" message-handler in the API
We can just return the existing Promise directly, and don't need to create a temporary one with `Promise.withResolvers()`. Given the age of this code it shouldn't hurt to simplify it a little bit.
- Loading branch information
1 parent
3a85479
commit d0eab86
Showing
1 changed file
with
8 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