token punctuation">)</span>

<span class="token keyword">await</span> nc<span class="token punctuation">.</span>connect<span class="token punctuation">(</span><span class="token string">&quot;nats://localhost:4222&quot;</span><span class="token punctuation">,</span>
                 nkeys_seed<span class="token operator">=</span><span class="token string">&quot;./path/to/nkeys/user.nk&quot;</span><span class="token punctuation">,</span>
                 error_cb<span class="token operator">=</span>error_cb<