KubeMQ.QueueBatchResult (kubemq v1.0.1)

Copy Markdown View Source

Result of sending a batch of queue messages.

Returned from KubeMQ.Client.send_queue_messages/2.

Fields

  • batch_id (String.t()) — Batch identifier.
  • results ([KubeMQ.QueueSendResult.t()]) — Per-message send results.
  • have_errors (boolean()) — Whether any message in the batch failed to send.

Summary

Types

t()

@type t() :: %KubeMQ.QueueBatchResult{
  batch_id: String.t(),
  have_errors: boolean(),
  results: [KubeMQ.QueueSendResult.t()]
}

Functions

from_transport(result)

@spec from_transport(map()) :: t()

new(opts \\ [])

@spec new(keyword()) :: t()