• 请不要在回答技术问题时复制粘贴 AI 生成的内容
barb
V2EX  ›  程序员

javascript event 机制是不是有类似daemon进程支持?

  •  
  •   barb · Oct 3, 2013 · 3092 views
    This topic created in 4614 days ago, the information mentioned may be changed or developed.
    包括象callback这种
    3 replies    1970-01-01 08:00:00 +08:00
    barb
        2
    barb  
    OP
       Oct 3, 2013
    @dreampuf 我看一下
    bombless
        3
    bombless  
       Oct 5, 2013
    如果我没理解错…我平时就搞一个notice函数接受各个对象的通知,在收到导致所需条件满足的那个通知时干点活。
    js基本都是搞单线程,偶尔弄点cps风格来接近协程的效果。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1251 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    ♥ Do have faith in what you're doing.