can.Deferred

  • constructor
 

can.Deferred is a object that allows users to assign and chain callback function(s) for the success or failure state of both asynchronous and synchronous function(s).

can.Deferred()

Returns

{can.Deferred}

A new Deferred object.