Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module defer |
|
Support for results that aren't immediately available.
API Stability: stable
Maintainer: Glyph Lefkowitz<mailto:glyph@twistedmatrix.com>Classes | |
---|---|
Deferred |
This is a callback which will be put off until later. |
DeferredList |
I combine a group of deferreds into one callback. |
_nothing |
Exceptions | |
---|---|
AlreadyCalledError |
|
TimeoutError |
|
AlreadyArmedError |
Function Summary | |
---|---|
succeed(result)
| |
fail(result)
| |
Returns list with result of given Deferreds. | |
Create a deferred from a callable and arguments. | |
logError(err)
| |
passthru(arg)
| |
timeout(deferred)
| |
_parseDListResult(l)
|
Variable Summary | |
---|---|
int |
FAILURE
|
int |
SUCCESS
|
Function Details |
---|
execute(callable, *args, **kw)Create a deferred from a callable and arguments. Call the given function with the given arguments. Return a deferred which has been fired with its callback as the result of that invocation or its errback with a Failure for the exception thrown. |
gatherResults(deferredList)Returns list with result of given Deferreds. This builds onDeferredList but is useful since you don't
need to parse the result for success/failure.
|
Variable Details |
---|
FAILURE
|
SUCCESS
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:19:03 2003 | http://epydoc.sf.net |