Skip to content

Conversation

@guybedford
Copy link
Collaborator

Posting up a very initial spec draft for early feedback.

The approach taken here is instead of reinventing all functions (HostLoadImportedModuleSync / ContinueDynamicImportSync / FinishLoadingImportedModuleSync etc etc), we instead replace the PromiseCapability with a CompletionRecord which can be dynamically mutated to effectively share the function paths for sync and async.

This seems slightly simpler, although we need to weigh the pros and cons on a per spec method basis going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants