We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c8d59f commit a960c5aCopy full SHA for a960c5a
1 file changed
aws/sqs/sqs.go
@@ -335,6 +335,7 @@ func (s *SQS) SendBatch(ctx context.Context, queueURL string, bodies []string) e
335
// SendNBatch sends any number of messages to a given SQS queue via a series of SendBatch calls.
336
// If an error occurs on any or all messages, a SendNBatchError is returned that lets
337
// the caller know the index of the message/s in bodies that failed.
338
+// Returns the number of API calls to SendBatch made.
339
func (s *SQS) SendNBatch(ctx context.Context, queueURL string, bodies []string) (int, error) {
340
341
const (
0 commit comments