Re: [w3ctag/design-reviews] WebAssembly Response API / Web Embedding (#167)

Just a syntax note for clarity in the doc:
This: `Promise<{module:WebAssembly.Module, instance:WebAssembly.Instance}>` needs an intermediary definition to be more clearly understood. Since you've got one foot in the door using WebIDL, I'd recommend:
```WebIDL
dictionary WebAssemblyInstantiatedSource {
   required WebAssemblyModule module;
   required WebAssemblyInstance instance;
};

Promise<WebAssemblyInstantiatedSource> instantiate(Response source, optional ?? importObject)
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/167#issuecomment-298154538

Received on Saturday, 29 April 2017 08:04:44 UTC