Function: applySerializedActionAndSyncNewModelIds()
function applySerializedActionAndSyncNewModelIds<TRet>(subtreeRoot, call): TRet;
Applies (runs) a serialized action over a target object.
In this mode newly generated / modified model IDs previously tracked
by applySerializedActionAndTrackNewModelIds will be synchronized after
the action is applied.
This means this method is usually used on the client side.
If you intend to apply non-serialized actions check applyAction 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 | SerializedActionCallWithModelIdOverrides | The serialized action, usually as coming from the server/client. |
Returns
TRet
The return value of the action, if any.