[Twisted-Python] Cancel/stop Deferred() at any time

vitaly at synapticvision.com vitaly at synapticvision.com
Tue Jul 14 11:10:10 EDT 2009


Hello,

is there any way to cancel the Deferred callback in those examples?

1.
d = defer.Deferred()
d.addCallback(methodA).addErrback(methodErr)
d.callback(None)

2.
d = methodB().addErrback(methodErr)
wfd = defer.waitForDeferred(d)



Appreciate any help.




More information about the Twisted-Python mailing list