Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0d0fc27168
Fetching contributors…

Cannot retrieve contributors at this time

96 lines (77 sloc) 2.423 kB

YieldPoints: Simple extensions to Tornado's gen module.

_static/yield.png

Simple extensions to Tornado's gen module.

Examples

Use :class:`~yieldpoints.WaitAny` to begin two tasks and handle their results in the order completed:

If you begin a task but don't wait for it, use :class:`~yieldpoints.Cancel` or to :class:`~yieldpoints.CancelAll` avoid a LeakedCallbackError:

Wait with a timeout. :class:`~yieldpoints.WithTimeout` can take a YieldPoint or a key name as its second argument:

Contents

Source

Is on GitHub: https://github.com/ajdavis/yieldpoints

Indices and tables

Jump to Line
Something went wrong with that request. Please try again.