updatedInstance
updatedInstance
callback handler that prevents sequential calls with the same arguments.
updatedInstance(instance, data)
Called with the instance updated by [can-connect/constructor/constructor.saveconnection.save
] and the response data of the
underlying request. Prevents sequential calls to the underlying updatedInstance
handlers with the same arguments.
Parameters
- instance:
the instance created by
connection.save
- data:
the response data returned during
connection.save