Closed
Description
In the description of void, it’s stated that
The only place that the void type may appear in IDL is as the return type of an operation.
However when describing the ES binding rules for Promise types, in the algorithm perform some steps once a promise is settled, it says:
If T [of
Promise<T>
] is void, then [...]
Is Promise<void>
is permitted, but only as a return type? If so, should the first text be amended to clarify that, or am I misunderstanding what ‘return type’ is inclusive of?
Metadata
Metadata
Assignees
Labels
No labels