[ Index ]

PHP Cross Reference of WordPress

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.

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

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

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

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

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

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

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

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.

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

isPromise(obj)   X-Ref
No description



Generated: Sun Sep 15 01:00:03 2019 Cross-referenced by PHPXref 0.7.1