我想知道node.js中是否有与ignore_user_abort()相同的php函数。当有人关闭连接时,此函数使脚本保持运行。
最佳答案
I want to know if there is any same php function of
ignore_user_abort()
in node.js.
没有。 Node 中不存在由 ignore_user_abort()
控制的行为(在 HTTP 请求中止时终止脚本)。
关于php - node.js中是否有与ignore_user_abort()相同的php函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49202345/