Jido.Messaging.BridgeStatus (Jido Messaging v1.0.0)

Copy Markdown View Source

Runtime bridge health/status snapshot.

Summary

Functions

Builds a bridge status from attrs.

Returns the Zoi schema.

Types

t()

@type t() :: %Jido.Messaging.BridgeStatus{
  adapter_module: module(),
  bridge_id: binary(),
  enabled: boolean(),
  last_error: nil | nil | any(),
  last_ingress_at:
    nil
    | nil
    | %DateTime{
        calendar: term(),
        day: term(),
        hour: term(),
        microsecond: term(),
        minute: term(),
        month: term(),
        second: term(),
        std_offset: term(),
        time_zone: term(),
        utc_offset: term(),
        year: term(),
        zone_abbr: term()
      },
  last_outbound_at:
    nil
    | nil
    | %DateTime{
        calendar: term(),
        day: term(),
        hour: term(),
        microsecond: term(),
        minute: term(),
        month: term(),
        second: term(),
        std_offset: term(),
        time_zone: term(),
        utc_offset: term(),
        year: term(),
        zone_abbr: term()
      },
  listener_count: integer(),
  revision: integer()
}

Functions

new(attrs)

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

Builds a bridge status from attrs.

schema()

Returns the Zoi schema.