initiates asynchronous execution of the specified command on a device, calling the handler function fun when an event occurs.


executes the command with the parameters params.


  • A device can be specified either by a DeviceObject or by a string representing a device class.
  • DeviceExecuteAsynchronous is a non-blocking function that returns an AsynchronousTaskObject.
  • The parameters params can be given either as a list of raw parameters or as an association or list of rules giving names and values of parameters.
  • The form in which specifications of events are fed to the handler function varies from one device to another.


Basic Examples  (1)

Asynchronously read from a demo device that retrieves cookies from a specified URL, calling URLFetchAsynchronous in the background:

The retrieved cookies:

Introduced in 2014