[Twisted-Python] Asynchronously initializing objects in twisted.web?

Glyph glyph at twistedmatrix.com
Tue Sep 8 16:21:01 MDT 2015

> On Sep 8, 2015, at 9:07 AM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
> Load the resources in a callback using "reactor.callWhenRunning" and only then call reactor.listenTCP or whatever.

Just trying to use every opportunity I can to say this: don't use listenTCP, use endpoints: https://twistedmatrix.com/documents/15.4.0/core/howto/endpoints.html <https://twistedmatrix.com/documents/15.4.0/core/howto/endpoints.html>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150908/351d33c2/attachment-0002.html>

More information about the Twisted-Python mailing list