开发者

Best way to schedule a task to run in next iteration of a Twisted reactor loop

I want to schedule a task to run in th开发者_Go百科e next iteration of the reactor loop. What's the best way to do it?

reactor.callLater(0, ...)?


You are correct:

reactor.callLater(0, ...)


From the docs, the correct way seems to be as you said, reactor.callLater(0, ...).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜