Difference between revisions of "CRUD promises"

From AMTech WikiDocs
Jump to: navigation, search
(Created page with "Most operations in the DAP are executed through promises. It means that they are queued for execution and the real execution occurs asynchronously. This is the case of CREATEs...")
 
Line 1: Line 1:
Most operations in the DAP are executed through promises. It means that they are queued for execution and the real execution occurs asynchronously. This is the case of CREATEs, UPDATEs and DELETEs of things coming from the Activity's Execution Engine. In case of errors in the execution of queued promises, this error is reported through the sensors_network topic and can be inspected by consuming the arriving observations to this topic.
+
Most operations in the DAP are executed through promises. It means that they are queued for execution and the real execution occurs asynchronously. This is the case of CREATEs, UPDATEs and DELETEs of things coming from the Activity's Execution Engine. In case of errors in the execution of queued promises, this error is reported through the sensors_network topic in the form of an observation.

Revision as of 23:14, 29 June 2016

Most operations in the DAP are executed through promises. It means that they are queued for execution and the real execution occurs asynchronously. This is the case of CREATEs, UPDATEs and DELETEs of things coming from the Activity's Execution Engine. In case of errors in the execution of queued promises, this error is reported through the sensors_network topic in the form of an observation.