Defines the App Actions
- License:
- MIT
- MIT
- Source:
Methods
(static) execute(actions, key, data) → {undefined}
Executes all read and write operations present in the actions array.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
actions |
Array
|
Array of read/write objects |
key |
String
|
Action key |
data |
Object
|
Bag of data |
Returns:
- Type:
-
undefined
(static) resolve(actions, key) → {function}
Find the methods that matches with the notify key
- Source:
Parameters:
Name | Type | Description |
---|---|---|
actions |
function
|
Object
|
Object of methods that can be matches with the key's value |
key |
String
|
Action key |
Returns:
- Type:
-
function
The function corresponding to the key, if it exists
(static) stack() → {Array}
- Source:
Returns:
- Type:
-
Array
All the operations currently in the stack.
Stack operations can already be executed but still in the stack.