i><code>store</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types" class="type">&#x3C;any></a></li>
</ul>
<p>Calling <code>asyncLocalStorage.enterWith(store)</code> will transition into the context
for the remainder of the current synchronous execution and will persist
through any following asynchronous calls.</p>
<p>Example:</p>
<pre><code class="language-js">const store = { id: 1 };
asyncLocalStorage.enterWith(store);
asyncLocalStorage.getStore(); // Returns 