ister-partykit-client/interfaces/persister/partykitpersister/methods/getter/getconnection/"><code>getConnection</code></a></li></ul></nav><section class="s1" id="/api/persister-partykit-client/interfaces/persister/partykitpersister/methods/getter/getconnection/" data-id="gC8"><h1><code>getConnection</code></h1><p>The <code>getConnection</code> method returns the PartySocket the <a href="/api/the-essentials/creating-stores/store/"><code>Store</code></a> is being persisted to.</p><pre><code><span class="funct