-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
for next iterationPlanned or postponed topics for the futurePlanned or postponed topics for the futureuse caseDescribes a scenario that may be useful for technical decisionsDescribes a scenario that may be useful for technical decisionswait-for-td
Description
We currently have the following definition for writeProperty()
Promise<void> writeProperty(DOMString propertyName,
any value,
optional InteractionOptions options = null);
I wonder whether the return value should be Promise<any>
instead of Promise<void>
?
There may be different use-cases were a server might modify the value initially provided (e.g., round a number 1.2345 to 1.23 by limiting digits) and returning the actually set value would be helpful. No additional readProperty()
needed.
What are the consequences of such a change?
Metadata
Metadata
Assignees
Labels
for next iterationPlanned or postponed topics for the futurePlanned or postponed topics for the futureuse caseDescribes a scenario that may be useful for technical decisionsDescribes a scenario that may be useful for technical decisionswait-for-td