-
Notifications
You must be signed in to change notification settings - Fork 47k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fork performWork instead of using boolean flag (#15169)
I inline it into performAsyncWork instead. Code that was only relevant to the async callback had leaked into the performWork call which is an indication that this was a bad abstraction and therefore the wrong place to DRY. By inlining I also discovered that minExpirationTime is actually irrelevant in the yieldy case so we can clean that up.
- Loading branch information
1 parent
56035da
commit 4b8e164
Showing
1 changed file
with
44 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