resolve
can.Deferred.prototype.resolve
Resolve a Deferred.
deferred.resolve([argument])
Parameters
-
argument
{Object}OptionalThe argument to call the
doneCallbackwith.
Resolve a Deferred.
{Object}OptionalThe argument to call the doneCallback with.
deferred.resolve( args )resolves a Deferred object and calls the done callbacks with the given arguments.