resolveWith
can.Deferred.prototype.resolveWith
Resolve a Deferred in a particular context.
deferred.resolveWith(context[, arguments])
Parameters
-
context
{Object}Context passed to the
doneCallbacksas thethisobject. -
arguments
{Array}OptionalArray of arguments that are passed to the
doneCallbacks.
deferred.resolveWith(context, arguments)resolves a Deferred and calls thedoneCallbackswith the given arguments.