can.List.prototype.isPending

  • function
 

list.isPending()

Returns if the state of the list is pending.

Returns

{Boolean}

true if the list is pending. false if otherwise.

Use

var data = new can.Deferred();
var list = new can.List(data);

list.isPending() //-> true