javascript - Nodejs user leaves page prematurely
问题描述
What happens to nodejs process behind reverse proxy if I just send ajax request in background, and user leaves/closes page, before it gets confirmation from nodejs script that process is done?
Does it continue to work, and finish async loop, for example, or it just terminates and stops at error handler? Leaving data half-way done?
解决方案
推荐阅读
- laravel - cPanel 上的背包 Laravel:后端配置无效。可读卷不可用
- php - 需要在 CURLOPT_POSTFIELDS 中传递动态值
- reactjs - 加载 ag-grid 服务器端模型时需要应用以前保存的过滤器/排序模型
- python - 我正在尝试在报告的表格中正确地创建一个块行
- javafx - 覆盖 JavaFx TreeItem getChildren 是否添加了一个好主意?
- javascript - 从 chrome 扩展控制台访问 chrome 浏览器选项卡的控制台/元素
- html - 可以在角度 dom 中对 2 个不同的自然变量求和吗?
- java - org.gradle.api.internal.tasks.testing.TestSuiteExecutionException:无法完成 Gradle Test Executor 5 的执行
- django - 如何在 django 中自动检测数据库中的新条目
- javascript - 用一个对象循环对象