done
can.Deferred.prototype.done
Add one or more callbacks to be called when a Deferred is resolved.
deferred.done(doneCallbacks)
Parameters
-
doneCallbacks
{function() | Array}
A function, or an array of functions, to be called when the Deferred is resolved.
deferred.done(doneCallbacks)
adds one or more functions to be called when the Deferred object is resolved.