nicolo-ribaudo / modules-import-hooks-refactor

https://nicolo-ribaudo.github.io/modules-import-hooks-refactor/
MIT License
0 stars 0 forks source link

Avoid multiple parallel calls to HostLoadImportedModule with the same (referrer, specifier) pair #1

Open nicolo-ribaudo opened 2 years ago

nicolo-ribaudo commented 2 years ago

This is not necessary for this refactor, but it will be needed by Layer 0 of the compartments proposal if it wants to avoid calling importHook twice for await Promise.all([import("x"), import("x")]).