{"name":"deferred.state","type":"method","title":"deferred.state()","deprecated":null,"removed":null,"desc":"Determine the current state of a Deferred object. ","categories":["deferred-object","version/1.7"],"entries":[{"return":"String","signatures":{"added":"1.7"},"examples":null,"longdesc":"\n

The deferred.state() method returns a string representing the current state of the Deferred object. The Deferred object can be in one of three states:

\n \n

This method is primarily useful for debugging to determine, for example, whether a Deferred has already been resolved even though you are inside code that intended to reject it.

\n "}]}