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