Returns the current store. If called outside of an asynchronous context initialized by calling asyncLocalStorage.run() or asyncLocalStorage.enterWith(), it returns undefined.
asyncLocalStorage.run()
asyncLocalStorage.enterWith()
undefined
v13.10.0, v12.17.0