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 · 4666 views
    This topic created in 5180 days ago, the information mentioned may be changed or developed.
    我笨,官方的那个Chat Demo还不能举一反三,而且不清楚有没有特定情况下更好地实现。

    Chat的做法



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

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