Undocumented
Method __init__ Initialize a Deferred.
Method __setitem__ Undocumented
Method addDependant Undocumented

Inherited from NotKnown:

Method resolveDependants Undocumented
Method __hash__ Undocumented

Inherited from NotKnown:

Method resolveDependants Undocumented
Method __hash__ Undocumented
def __init__(self): (source)

Initialize a Deferred.

Parameterscancellera callable used to stop the pending operation scheduled by this Deferred when Deferred.cancel is invoked. The canceller will be passed the deferred whose cancelation is requested (i.e., self).

If a canceller is not given, or does not invoke its argument's callback or errback method, Deferred.cancel will invoke Deferred.errback with a CancelledError.

Note that if a canceller is not given, callback or errback may still be invoked exactly once, even though defer.py will have already invoked errback, as described above. This allows clients of code which returns a Deferred to cancel it without requiring the Deferred instantiator to provide any specific implementation support for cancellation. New in 10.1.

(type: a 1-argument callable which takes a Deferred. The return result is ignored.)
def __setitem__(self, n, obj): (source)
Undocumented
def addDependant(self, dep, key): (source)
API Documentation for Twisted, generated by pydoctor at 2016-05-18 16:01:36.