Skip to content

Commit

Permalink
Added missing ` (#467)
Browse files Browse the repository at this point in the history
doc formatting correction
[ci skip]
  • Loading branch information
jonaslagoni committed Nov 29, 2021
1 parent de8e276 commit 2c1006c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for subscription handling if desired.

Previous versions of the `connect(url, opts)` function depended on notifications
from an event listener, to know if the client connected, etc. The new version
changes to `connect(opts: ConnectionOptions): Promise<NatsConnection>.
changes to `connect(opts: ConnectionOptions): Promise<NatsConnection>`.

If the connect resolves, you have a connection and you can use the client.
Otherwise depending on the connection options, the connection will fail.
Expand Down

0 comments on commit 2c1006c

Please sign in to comment.