new ParallelCommand(id, commands)
Paralle commands, that executes all commands parallely
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string | id of command |
commands |
array | null |
Extends
Methods
-
<protected> _getCommandCount(source)
-
Get count of the commands
Parameters:
Name Type Description sourcearray commands - Inherited From:
Returns:
count- Type
- number
-
<abstract, protected> _onSubCommandSignal(id, target, data)
-
Command listener
Parameters:
Name Type Description idchaining.CommandEvent event id targetchaining.AbstractCommand command data* - Inherited From:
-
addCommand(command)
-
Add command to the list
Parameters:
Name Type Description commandchaining.AbstractCommand - Inherited From:
-
destroy()
-
Destroy command object and all child commands and release resources
- Inherited From:
-
removeCommand(id)
-
Remove command from the list
Parameters:
Name Type Description idstring id of the command - Inherited From:
-
start()
-
Start execution of the comamnd
- Inherited From:
-
stop()
-
Stop execution of the comamnd
- Inherited From: