Command sequence¶
This chapter describes the CommandSequence interface. A command sequence is created and consists of a series of one or more Commands. A command sequence can also consist of one or more group commands.
Completion or failure of command sequence execution can be detected asynchronously through subscribing an CommandSequenceCompleteHandler.
State machine¶
The states of a command sequence are identical to those of a command. Transitions between the states of the Command sequence state machine, however, differ from those of a command.
1. This condition is only valid when the command sequence is configured for the command sequence event response.
2. This condition is only valid when the command sequence is not configured for the command sequence event response.
Note
The “[response triggered]” transitions in Command sequence state machine can occur when the command is part of a command sequence event response. See Command sequence event response for detailed behaviour.