-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Based on the discussion in eclipse-thingweb/node-wot#1279 two points/issues arose. One is the following.
At the moment the invokeAction(DOMString actionName, ...)
call may return InteractionOutput
only. Doing so makes it difficult to properly handle long running actions that MAY report first an "ActionStatus" object that allows for cancelling/querying action.
The idea/proposal is to enhance the return type. Something like
Promise<InteractionOutput | ActionStatus > invokeAction(DOMString actionName, ...)
We need to define what ActionStatus
might be and what can be supported.
I wonder whether we can define/collect fist ideas how ActionStatus
could look like and we could also start experimenting with it implementation- wise. Is it possible to "label" such a feature "Experimental" so that it is clear it might change?
Note: The EXI Profile has also an ActionStatus object and we should make it clear that it is something else. Maybe we might also use another name...
realtes to #335