hz-zhhq-web/node_modules/capture-exit
zzyuan 304842bddc 前端提交2 2025-02-25 13:44:33 +08:00
..
README.md 前端提交2 2025-02-25 13:44:33 +08:00
index.js 前端提交2 2025-02-25 13:44:33 +08:00
package.json 前端提交2 2025-02-25 13:44:33 +08:00

README.md

capture-exit

Build status Build Status

Allow cooprative async exit handlers, we unfortunately must hijack process.exit.

It allows a handler to ensure exit, without that exit handler impeding other similar handlers

for example, see: sindresorhus/ora#27

Differences between process.on('exit') and captureExit.onExit(...) => https://github.com/ember-cli/capture-exit/issues/12