-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: Serialize resolution of deferred functions
We want the js author to be able to rely on deterministic order of promise resolution to avoid surprises and generate non-determinitic configuration. We do this by making the order of promise resolution be the same as promise resolution, serializing the deferred goroutines before they re-enter v8 to resolve the promises. Fixes: #110
- Loading branch information
Showing
2 changed files
with
46 additions
and
5 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