File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,10 @@ import (
37
37
//
38
38
// If using exactly once delivery, you should call Message.AckWithResult and
39
39
// Message.NackWithResult instead. These methods will return an AckResult,
40
- // which you should wait on to obtain the status of the Ack/Nack to ensure
41
- // these were properly processed by the server. If not,
40
+ // which tracks the state of acknowledgement operation. If the AckResult returns
41
+ // successful, the message is guaranteed NOT to be re-delivered. Otherwise,
42
+ // the AckResult will return an error with more details about the failure
43
+ // and the message may be re-delivered.
42
44
type Message = ipubsub.Message
43
45
44
46
// msgAckHandler performs a safe cast of the message's ack handler to psAckHandler.
You can’t perform that action at this time.
0 commit comments