Closed Constellation closed 9 years ago
Thanks for your reviews! I'll update the PR to reflect your comments.
Recent overhauls to the spec have obsoleted this PR -- in particular, commit 261543c66c235b2a4b3a9e5076b6dd0386a94ec3 eliminates the explicit fulfillment of the [[Instantiate]] promise, which is now simply piped through the pipeline thanks to Caridy's work in commit 2eff7f162b1d34ed1a2220c07e91d5b1c2513038.
While the RequestInstantiate fulfills
entry.[[Instantiate]]
promise with the registry entry (as the returned value of the promise), CommitInstantiated step 4 will fulfill it with the module instance proactively.In this patch, we separate the "force fulfill" operation from the CommitInstantiated. Move this operation to the FulFillInstantiate. And here, we will fulfill the
entry.[[Instantiate]]
promise with the registry entry because the hander side requires it.