Description of Proposed Feature
System.resolve exists before import.meta.resolve, using the sync mode, but import.meta.resolve is async mode, System should support async resolve, this make the complex resolve easier.
In what way would you use it?
Maybe use System.resolveAsync as a transition hook, then change the resolve to async in next major version ?
Change all internal resolve use to async version, some of them should already just work with async.
Or just change the resolve to async.
I thought resolve is async when I see this issues nodejs/node#31032 , seems the spec says it's sync https://html.spec.whatwg.org/#integration-with-the-javascript-module-system .
SystemJS should allowed System.resolve be async. I will check this.
Description of Proposed Feature
System.resolve exists before import.meta.resolve, using the sync mode, but import.meta.resolve is async mode, System should support async resolve, this make the complex resolve easier.
In what way would you use it?
Maybe use
System.resolveAsyncas a transition hook, then change the resolve to async in next major version ?Change all internal resolve use to async version, some of them should already just work with async.
Or just change the resolve to async.
I thought resolve is async when I see this issues nodejs/node#31032 , seems the spec says it's sync https://html.spec.whatwg.org/#integration-with-the-javascript-module-system .
SystemJS should allowed System.resolve be async. I will check this.