[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/js/dist/ -> redux-routine.js (summary)

(no description)

File Size: 934 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 18 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _interopRequireDefault()
  _interopRequireDefault()
  _interopRequireDefault()
  _interopRequireDefault()
  _toConsumableArray()
  _interopRequireDefault()
  _interopRequireDefault()
  _interopRequireDefault()
  _toConsumableArray()
  isGenerator()
  isAction()
  isActionOfType()
  createRuntime()
  createMiddleware()
  isPromise()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

isGenerator(object)   X-Ref
Returns true if the given object is a generator, or false otherwise.

param: {*} object Object to test.
return: {boolean} Whether object is a generator.

isAction(object)   X-Ref
Returns true if the given object quacks like an action.

param: {*} object Object to test
return: {boolean}  Whether object is an action.

isActionOfType(object, expectedType)   X-Ref
Returns true if the given object quacks like an action and has a specific
action type

param: {*}      object       Object to test
param: {string} expectedType The expected type for the action.
return: {boolean} Whether object is an action and is of specific type.

createRuntime()   X-Ref
Create a co-routine runtime.

param: {Object}    controls Object of control handlers.
param: {Function}  dispatch Unhandled action dispatch.
return: {Function} co-routine runtime

createMiddleware()   X-Ref
Creates a Redux middleware, given an object of controls where each key is an
action type for which to act upon, the value a function which returns either
a promise which is to resolve when evaluation of the action should continue,
or a value. The value or resolved promise value is assigned on the return
value of the yield assignment. If the control handler returns undefined, the
execution is not continued.

param: {Object} controls Object of control handlers.
return: {Function} Co-routine runtime

isPromise(obj)   X-Ref
No description



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7