Module: caf_iot/plug_iot_queue

Queue to serialize command execution

Source:

Extends

Methods

__iot_progress__() → {boolean}

Internal only.

Checks for progress processing messages.

Source:
Returns:

True if message queue is empty or at least one message was processed since the last call to progress.

Type
boolean

process(methodName, args, optionsopt, cb0)

Enqueues a method call request.

Parameters:
Name Type Attributes Description
methodName string

The method name.

args Array.<jsonType>

The arguments.

options cronOptionsType <optional>

Hint on how to process the message. The noSync flag skips cloud synchronization.

cb0 cbType

A callback for errors/response.

Source: