updatedData
Data callback that updates the cache when a data record is modified.
connection.updatedData(responseData, requestData)
Calls updateData
on the cacheConnection to modify a data record stored in the cache.
Calls and returns the response from any underlying behavior's updatedData
callback.
Parameters
- responseData
{Object}
:the data returned by the data update request
- requestData
{Object}
:the data that was passed to the data update request
Returns
{Object}
:
the data returned from an underlying behavior's updatedData
callback, if one exists. Otherwise
returns the responseData
.