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>
12891289 will allow cancelling asynchronous actions and query the status of a long running action.
12901290 </ p >
12911291 < 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+ */
12921296 [SecureContext, Exposed=(Window,Worker)]
12931297 interface ActionInteractionOutput : InteractionOutput {
12941298 Promise<InteractionOutput> query(
@@ -1297,8 +1301,6 @@ <h2>The <dfn>ActionInteractionOutput</dfn> interface</h2>
12971301 Promise<undefined> cancel(
12981302 optional InteractionInput params = {},
12991303 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
13021304 };
13031305 </ pre >
13041306
Original file line number Diff line number Diff line change @@ -88,12 +88,14 @@ declare namespace WoT {
8888 value ( ) : Promise < DataSchemaValue > ;
8989 }
9090
91+ /**
92+ * Note: retrieving the result of an action via the implicit InteractionOutput interface will only work after the action has been completed
93+ */
9194 export interface ActionInteractionOutput extends InteractionOutput {
9295 // query the status of a running action
9396 query ( params ?: InteractionInput , options ?: InteractionOptions ) : Promise < InteractionOutput >
9497 // cancel a pending/running action
9598 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
9799 }
98100
99101 export interface Subscription {
You can’t perform that action at this time.
0 commit comments