Skip to content

MvASYNCHRONOUS#


Code within a block will start to execute in a separate asynchronous task, and the task will exit when the block is reached. All output, even via, is discarded from the asynchronous task.

Syntax
<MvASYNCHRONOUS>
 Code executed here. 
</MvASYNCHRONOUS>

Asynchronous tasks can not be started from within an asynchronous task.

The number of asynchronous tasks allowed, the timeout time for an asynchronous task, and an absolute timeout for miva_async_sleep are all configurable.