[Twisted-Python] Re: [Twisted-commits] r13382 - Add a new howto with deferred 'recipes': at the moment just timeouts (fixes #952)

1 Apr
2005
1 Apr
'05
9:05 a.m.
On Fri, 01 Apr 2005 01:56:57 -0700, Mary Gardiner mary@wolfwood.twistedmatrix.com wrote:
Author: mary Date: Fri Apr 1 01:56:57 2005 New Revision: 13382
Added: trunk/doc/core/howto/deferrecipes.xhtml Modified: trunk/doc/core/howto/async.xhtml trunk/doc/core/howto/defer.xhtml trunk/doc/core/howto/gendefer.xhtml Log: Add a new howto with deferred 'recipes': at the moment just timeouts (fixes #952)
def getTimeoutCancelFunction(delayedCall): """ Return a function which will cancel the delayedCall """ [snip ...]
def timeoutSetter(): [snip ...] d.addBoth(getTimeoutCancelFunction) [snip ...]
This usage doesn't seem to match up with the definition. Maybe getTimeoutCancelFunction()?
Jp
6642
Age (days ago)
6642
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jp Calderone
-
Mary Gardiner