Jido.Messaging.Runtime (Jido Messaging v1.0.0)

Copy Markdown View Source

Runtime state holder for a Jido.Messaging instance.

Manages adapter initialization and holds per-instance state including adapter module and adapter state (e.g., ETS table references).

Summary

Functions

Returns a specification to start this module under a supervisor.

Get the persistence adapter and its state.

Get the runtime state for an instance

Returns the Zoi schema

Types

t()

@type t() :: %Jido.Messaging.Runtime{
  instance_module: any(),
  persistence: any(),
  persistence_state: nil | nil | any()
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_persistence(runtime)

Get the persistence adapter and its state.

get_state(runtime)

Get the runtime state for an instance

schema()

Returns the Zoi schema

start_link(opts)