V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
barb
V2EX  ›  程序员

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

  •  
  •   barb · Oct 3, 2013 · 3051 views
    This topic created in 4593 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   ·   920 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 23:22 · PVG 07:22 · LAX 16:22 · JFK 19:22
    ♥ Do have faith in what you're doing.