new Parallel(theStateID, theSubMachines)
Adapter class for parallel states
Parameters:
Name | Type | Description |
---|---|---|
theStateID |
String | Identifies the state. Must be unique in the containing state machine. |
theSubMachines |
Array.<HSM.StateMachine> | an array of parallel state machines. |
- Source:
Extends
Members
-
#handler[event] :HSM.State~Handler|Array.<HSM.State~Handler>
-
Map of events to handlers. Either a single handler or an array of handlers can be given. The guard of each handler will be called until a guard returns true (or a handler doesn't have a guard). This handler will then be triggered.
Type:
- HSM.State~Handler | Array.<HSM.State~Handler>
- Inherited From:
- Source:
-
State#on_entry :HSM.State~EntryFunc
-
Type:
- Inherited From:
- Source:
-
State#on_exit :HSM.State~ExitFunc
-
Type:
- Inherited From:
- Source: