repositories
/
poolifier.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Merge pull request #1261 from poolifier/dependabot/npm_and_yarn/examples/typescript...
[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
}