Class: SequenceCommand

chaining SequenceCommand

Sequence commands, that executes commands in sequence on at a time

new SequenceCommand(id, commands)

Sequence commands, that executes commands in sequence on at a time
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
source array commands
Inherited From:
Returns:
count
Type
number

<abstract, protected> _onSubCommandSignal(id, target, data)

Command listener
Parameters:
Name Type Description
id chaining.CommandEvent event id
target chaining.AbstractCommand command
data *
Inherited From:

addCommand(command)

Add command to the list
Parameters:
Name Type Description
command chaining.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
id string id of the command
Inherited From:

start()

Start execution of the comamnd
Inherited From:

stop()

Stop execution of the comamnd
Inherited From: