Document the new third callback arg of replicate()

This commit is contained in:
Miroslav Bajtoš 2015-03-26 19:10:00 +01:00
parent caf53f72c1
commit 2ca621e597
1 changed files with 2 additions and 0 deletions

View File

@ -822,6 +822,8 @@ PersistedModel.currentCheckpoint = function(cb) {
* @callback {Function} [callback] Callback function called with `(err, conflicts)` arguments.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
* @param {Conflict[]} conflicts A list of changes that could not be replicated due to conflicts.
* @param {Object] checkpoints The new checkpoints to use as the "since"
* argument for the next replication.
*/
PersistedModel.replicate = function(since, targetModel, options, callback) {