-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use try-lock to append a job to the worker queue
This change uses `withLockIfAvailable` to append a job to the worker queue not to use `atomic.wait` on the main thread, which is rejected by some browser engines.
- Loading branch information
1 parent
502da6e
commit 396ff45
Showing
1 changed file
with
29 additions
and
26 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