Unverified Commit c85f41e9 authored by Jan Krems's avatar Jan Krems Committed by Shelley Vohr
Browse files

module: remove dynamicInstantiate loader hook

The dynamicInstantiate loader hook requires that the hooks run in the
same global scope as the code being loaded. We don't want to commit to
this being true in the future. It stops us from sharing hooks between
multiple worker threads or isolating loader hook from the application
code.

Using `getSource` and `getGlobalPreloadCode` the same use cases should
be covered.

PR-URL: https://github.com/nodejs/node/pull/33501


Reviewed-By: default avatarGeoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: default avatarGuy Bedford <guybedford@gmail.com>
Reviewed-By: default avatarBradley Farias <bradley.meck@gmail.com>
parent 9e1fb0f8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment