Methods
(static) fromJSON(actionSequence) → {action.Sequence}
Parameters:
| Name | Type | Description |
|---|---|---|
actionSequence |
Object.<string, ?> | Object that represents a sequence action items for one input source. |
Throws:
-
If
actionSequence.idis not a string or it's aleady mapped to an |action.InputState} incompatible withactionSequence.type, or ifactionSequence.actionsis not anArray. - Type
- InvalidArgumentError
Returns:
Sequence of actions that can be dispatched.
- Type
- action.Sequence