Background:

I'm trying to plan a migration to ES6 modules.  For interop with the
existing systems in the short-medium term, I would like to be able to
retrieve a loaded modules exports synchronously (basically a "get or
fail").

It looks like retrieving the exports synchronously is possible using the
Registry object, however the registry requires that you have an appropriate
"key".  The "key" appears to only be resolvable asynchronously which means
the whole operation must async.

Am I missing something?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to