A2UI.Transport.Local (A2UI v0.3.0)

Copy Markdown View Source

In-process transport for A2UI.

Uses Erlang message passing to communicate between a LiveView and a local agent process. Creates an A2UI.Connection on connect and injects it into metadata so the agent can route responses back.

Summary

Types

t()

@type t() :: %A2UI.Transport.Local{
  agent: pid() | atom(),
  connection: A2UI.Connection.t()
}