* feat: als

* fix: up test timeout

* fix: don't overwrite caller if it already exists

* fix: up test timeout for psql
This commit is contained in:
Barış Soner Uşaklı
2021-08-30 10:23:38 -04:00
committed by GitHub
parent 156ba0958e
commit e59d357533
6 changed files with 19 additions and 3 deletions

7
src/als.js Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
const { AsyncLocalStorage } = require('async_hooks');
const asyncLocalStorage = new AsyncLocalStorage();
module.exports = asyncLocalStorage;