We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93d277 commit 69922ceCopy full SHA for 69922ce
nats.go
@@ -5483,7 +5483,7 @@ func (nc *Conn) drainConnection() {
5483
// Drain will put a connection into a drain state. All subscriptions will
5484
// immediately be put into a drain state. Upon completion, the publishers
5485
// will be drained and can not publish any additional messages. Upon draining
5486
-// of the publishers, the connection will be closed. Use the ClosedCB()
+// of the publishers, the connection will be closed. Use the ClosedCB
5487
// option to know when the connection has moved from draining to closed.
5488
//
5489
// See note in Subscription.Drain for JetStream subscriptions.
0 commit comments