createdInstance
createdInstance
callback handler that prevents sequential calls with the same arguments.
createdInstance(instance, data)
Called with the instance created by connection.save
and the response data of the
underlying request. Prevents sequential calls to the underlying createdInstance
handlers with the same arguments.
Parameters
- instance:
the instance created by
connection.save
- data:
the response data returned during
connection.save