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.id| is not a string or it's aleady mapped to an |action.InputState} incompatible with |actionSequence.type|. If |actionSequence.actions| is not an Array.
- Type
- InvalidArgumentError
Returns:
Sequence of actions that can be dispatched.
- Type
- action.Sequence