SendCommandOrUpdateOperation

OperationBuilder. SendCommandOrUpdateOperation

Sends a command or update to an item

Extends

  • OperationConfig

Methods

and(next) → {SendCommandOrUpdateOperation}

Description:
  • Send another command

Source:
Parameters:
Name Type Description
next *
Returns:

this

Type
SendCommandOrUpdateOperation

toItem(itemOrName) → {SendCommandOrUpdateOperation}

Description:
  • Send command to an item

Source:
Parameters:
Name Type Description
itemOrName Item | string

the item to send a command to

Returns:

this

Type
SendCommandOrUpdateOperation

toItems(itemsOrNames) → {SendCommandOrUpdateOperation}

Description:
  • Send command to multiple items

Source:
Parameters:
Name Type Description
itemsOrNames Array:.<Item:> | Array:.<string:>

the items to send a command to

Returns:

this

Type
SendCommandOrUpdateOperation