KubeMQ.EventStoreResult (kubemq v1.0.1)

Copy Markdown View Source

Result of sending a persistent event to KubeMQ Events Store.

Returned from KubeMQ.Client.send_event_store/2.

Fields

  • id (String.t()) — Event identifier echoed from the server.
  • sent (boolean()) — Whether the event was successfully persisted.
  • error (String.t() | nil) — Error message if sent is false.

Summary

Types

t()

@type t() :: %KubeMQ.EventStoreResult{
  error: String.t() | nil,
  id: String.t(),
  sent: boolean()
}

Functions

from_proto(result)

@spec from_proto(map()) :: t()

new(opts \\ [])

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