Tornado Documentation
http://www.v2ex.com/tornado/
Tornado on GitHub
https://github.com/facebook/tornado/
Tornado Gists
http://tornadogists.org/
tioover
V2EX  ›  Tornado

写 Tornado 异步,有没有更好的实现?

  •  
  •   tioover · May 5, 2012 · 4692 views
    This topic created in 5199 days ago, the information mentioned may be changed or developed.
    我笨,官方的那个Chat Demo还不能举一反三,而且不清楚有没有特定情况下更好地实现。

    Chat的做法



    上面的代码和Demo的有出入,就当是伪码吧

    有没有更美的做法呢
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5290 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 01:35 · PVG 09:35 · LAX 18:35 · JFK 21:35
    ♥ Do have faith in what you're doing.