ore/interfaces/store/store/methods/transaction/transaction/" data-id="t"><h1><code>transaction</code></h1><div class="essential">Essential</div><p>The <code>transaction</code> method takes a function that makes multiple mutations to the <a href="/api/store/interfaces/store/store/"><code>Store</code></a>, buffering all calls to the relevant listeners until it completes.</p><pre><code><span class="generic-function"><span class="function"><a href="/api/store/interfaces/store/store/methods/transaction/transacti