actions

App. actions

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, data) → {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
data Object Bag of data
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.

App.actions

Defines the App Actions
Author:
  • Deux Huit Huit <https://deuxhuithuit.com>
License:
  • 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, data) → {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
data Object Bag of data
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.