whatwg / loader

Loader Standard
https://whatwg.github.io/loader/
Creative Commons Zero v1.0 Universal
609 stars 45 forks source link

Execution hook #146

Open guybedford opened 8 years ago

guybedford commented 8 years ago

Has a synchronous execution hook for modules been considered? I remember some discussion around this but couldn't find an open issue on it.

Instantiate is separate to linking, so perhaps we need some link-level hook with the module instance for things like instrumentation cases? I think this is also something @bmeck was saying was needed as well for Node at one point for APM use cases?