-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a constructor to both the WebIDL and TypeScript definitions of the ExposedThing interface #516
Comments
But we agreed earlier that ExposedThing objects can only be created from the factory methods. We have steps for constructing ExposedThing, used from the steps for the factory method For ConsumedThing it was a bit different, since the constructor only copied the init dict as TD internal slot, then all async ops were done in the methods. If we want to align, we can remove the constructor here, and use the pattern we follow with ExposedThing. |
Removing the constructor from |
The steps for constructing, well, for producing (since they are created by a factory method) will remain in the spec, and they belong to the |
Call Nov 07
|
see #515
The text was updated successfully, but these errors were encountered: