Extends
- OperationConfig
Methods
toItems(itemsOrNames) → {SendCommandOrUpdateOperation}
- Source:
Send command to multiple items
Parameters:
Name | Type | Description |
---|---|---|
itemsOrNames |
Array.<Item> | Array.<string> | the items to send a command to |
Returns:
this
- Type
- SendCommandOrUpdateOperation
toItem(itemOrName) → {SendCommandOrUpdateOperation}
- Source:
Send command to an item
Parameters:
Name | Type | Description |
---|---|---|
itemOrName |
Item | string | the item to send a command to |
Returns:
this
- Type
- SendCommandOrUpdateOperation
and(next) → {SendCommandOrUpdateOperation}
- Source:
Send another command
Parameters:
Name | Type | Description |
---|---|---|
next |
* |
Returns:
this
- Type
- SendCommandOrUpdateOperation