-
Andreas Haas authored
Asynchronous WebAssembly compilation returns the compilation result through resolving a result promise. So far the result promise was resolved through V8-internal APIs. This caused problems, because resolving promises requires correct handling of microtasks, and microtasks are controlled by the embedder, and not by V8. This CL adds an API to allow the embedder to resolve the result promise itself, and handle microtasks as necessary. The use of the new API is available in a full CL, without API dance: https://chromium-review.googlesource.com/c/v8/v8/+/3694975 R=cbruni@chromium.org Bug: v8:12953 Change-Id: Ie9a56041f2d3e0c46664f1938e995f1e2c22f981 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3695584Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#81141}
7e0294dc
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
DIR_METADATA | ||
OWNERS | ||
api-arguments-inl.h | ||
api-arguments.cc | ||
api-arguments.h | ||
api-inl.h | ||
api-macros-undef.h | ||
api-macros.h | ||
api-natives.cc | ||
api-natives.h | ||
api.cc | ||
api.h |