Function: applyAction()
function applyAction<TRet>(subtreeRoot, call): TRet;
Applies (runs) an action over a target object.
If you intend to apply serialized actions check one of the applySerializedAction methods instead.
Type Parameters
| Type Parameter | Default type |
|---|---|
TRet | any |
Parameters
| Parameter | Type | Description |
|---|---|---|
subtreeRoot | object | Subtree root target object to run the action over. |
call | ActionCall | The action, usually as coming from onActionMiddleware. |
Returns
TRet
The return value of the action, if any.