repositories
/
poolifier.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_thr...
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
utils.mjs
Commit
Line
Data
001be8c5
JB
1
export const executeAsyncFn = async fn => {
2
try {
3
await fn()
4
} catch (e) {
5
console.error(e)
6
// eslint-disable-next-line n/no-process-exit
7
process.exit(1)
8
}
9
}