Package twisted :: Package internet :: Module defer |
[show private | hide private]
[frames | no frames]

## Module twisted.internet.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.

Exceptions
`AlreadyCalledError` |
`TimeoutError` |

Function Summary
| `succeed(result)`
| `fail(result)`
| ``gatherResults`(deferredList)` Returns list with result of given Deferreds.

Variable Summary
`int` | `FAILURE`
`int` | `SUCCESS`

Function Details

### gatherResults(deferredList) Returns list with result of given Deferreds. This builds on `DeferredList` but is useful since you don't need to parse the result for success/failure. Parameters: `deferredList` (type=`list` of `Deferred`s)

Variable Details

    ### FAILURE Type: `int` Value:
        0

    ### SUCCESS Type: `int` Value:
        1

Generated by Epydoc 1.1 on Thu May 8 13:16:27 2003 | http://epydoc.sf.net