mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
`v8::Module::IsGraphAsync()` traverses the dependencies to find if they contain TLA each time. `ModuleWrap.hasAsyncGraph` caches the result and exposes the property to JS land so that the presence of the property `module.hasAsyncGraph` can be consistent. This also allows C++ access of cached `hasAsyncGraph`. This merges the `intantiateSync`/`instantiate` and `getNamespaceSync`/`getNamespace` as they are always sync. PR-URL: https://github.com/nodejs/node/pull/59703 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> |
||
|---|---|---|
| .. | ||
| switches | ||
| web | ||
| node.js | ||
| realm.js | ||
| shadow_realm.js | ||