File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1289,6 +1289,10 @@ <h2>The <dfn>ActionInteractionOutput</dfn> interface</h2>
1289
1289
will allow cancelling asynchronous actions and query the status of a long running action.
1290
1290
</ p >
1291
1291
< pre class ="idl ">
1292
+ /**
1293
+ * Note: retrieving the result of an action via the implicit InteractionOutput interface
1294
+ * will only work after the action has been completed
1295
+ */
1292
1296
[SecureContext, Exposed=(Window,Worker)]
1293
1297
interface ActionInteractionOutput : InteractionOutput {
1294
1298
Promise<InteractionOutput> query(
@@ -1297,8 +1301,6 @@ <h2>The <dfn>ActionInteractionOutput</dfn> interface</h2>
1297
1301
Promise<undefined> cancel(
1298
1302
optional InteractionInput params = {},
1299
1303
optional InteractionOptions options = {});
1300
- // Note: retrieving the result of an action via the implicit InteractionOutput interface
1301
- // will only work after the action has been completed
1302
1304
};
1303
1305
</ pre >
1304
1306
Original file line number Diff line number Diff line change @@ -88,12 +88,14 @@ declare namespace WoT {
88
88
value ( ) : Promise < DataSchemaValue > ;
89
89
}
90
90
91
+ /**
92
+ * Note: retrieving the result of an action via the implicit InteractionOutput interface will only work after the action has been completed
93
+ */
91
94
export interface ActionInteractionOutput extends InteractionOutput {
92
95
// query the status of a running action
93
96
query ( params ?: InteractionInput , options ?: InteractionOptions ) : Promise < InteractionOutput >
94
97
// cancel a pending/running action
95
98
cancel ( params ?: InteractionInput , options ?: InteractionOptions ) : Promise < void >
96
- // Note: retrieving the result of an action via the implicit InteractionOutput interface will only work after the action has been completed
97
99
}
98
100
99
101
export interface Subscription {
You can’t perform that action at this time.
0 commit comments