Module: caf_iot/proxy_iot_bundles

A proxy to schedule bundles of commands.

Source:

Extends

Methods

addBundle(bundle) → {boolean}

Adds a bundle for execution.

The type bundleType is:

 {start : number, commands : Array.<commandType>}

and the type commandType is :

 {after: number, method: string, args: Array.<jsonType>}
Parameters:
Name Type Description
bundle bundleType

A new bundle to schedule.

Source:
Returns:

True if scheduled, false if it was too late for scheduling.

Type
boolean