Skip to content

Commit

Permalink
Merge pull request #758 from dtest11/fix_doc
Browse files Browse the repository at this point in the history
fix Misspell on note AckSync func
  • Loading branch information
wallyqs committed Jun 23, 2021
2 parents 5a4a543 + cd14d48 commit 28c22bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js.go
Expand Up @@ -1977,7 +1977,7 @@ func (m *Msg) Ack(opts ...AckOpt) error {
return m.ackReply(ackAck, false, opts...)
}

// Ack is the synchronous version of Ack. This indicates successful message
// AckSync is the synchronous version of Ack. This indicates successful message
// processing.
func (m *Msg) AckSync(opts ...AckOpt) error {
return m.ackReply(ackAck, true, opts...)
Expand Down

0 comments on commit 28c22bc

Please sign in to comment.