MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / isExitEvent

Function isExitEvent

src/exit.js:36–37  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

34}
35
36const isExitEvent = (event) =>
37 event === 'uncaughtException' || event === 'unhandledRejection'
38
39// Let tasks complete for a few seconds before forcing the exit
40const forceExitProcess = () => {

Callers 1

shouldExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…