Jido.Messaging.DeliveryPolicy (Jido Messaging v1.0.0)

Copy Markdown View Source

Per-bridge outbound retry/backoff policy.

Summary

Functions

Builds a delivery policy from map attrs.

Returns the Zoi schema.

Types

t()

@type t() :: %Jido.Messaging.DeliveryPolicy{
  base_backoff_ms: integer(),
  dead_letter: boolean(),
  max_attempts: integer(),
  max_backoff_ms: integer()
}

Functions

new(policy)

@spec new(map()) :: t()

Builds a delivery policy from map attrs.

schema()

Returns the Zoi schema.