Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 node.js 中为每个连接的客户端使用 setInterval(或 setTimeout)吗?节点将如何管理这个?会不会有性能问题?我想不时在每个客户端上运行一个函数,不使用setInterval我不知道该怎么做。