class="type">&#x3C;any></a></li>
</ul>
<p>This method returns the current store.
If this method is called outside of an asynchronous context initialized by
calling <code>asyncLocalStorage.run</code>, it will return <code>undefined</code>.</p>
<h3><code>asyncLocalStorage.enterWith(store)</code><span><a class="mark" href="#async_hooks_asynclocalstorage_enterwith_store" id="async_hooks_asynclocalstorage_enterwith_store">#</a></span></h3>
<div class="api_metadata">
<span>Added in: v12.17.0</span>
</div>
<ul>
<l