span class="token punctuation">(</span><span class="token punctuation">)</span>
</code></pre>
<p>To unsubscribe:</p>
<pre class="language-"><code class="lang-go">err <span class="token operator">:=</span> sub<span class="token punctuation">.</span><span class="token function">Unsubscribe</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</code></pre>
<p><em>Note: If a connection is closed without explicitly closing the subscriptions, the subscriptions are implicitly clos