AgentHarness.Subscription (AgentHarness v0.2.0)

Copy Markdown View Source

Handle for an event subscription.

The SessionServer monitors the subscriber so it can remove dead consumers. That direction does not notify the consumer if the session dies; use AgentHarness.monitor/1 for that lifecycle signal.

Summary

Types

t()

@type t() :: %AgentHarness.Subscription{
  pid: pid(),
  ref: reference(),
  server: pid(),
  session_id: String.t(),
  turn_id: String.t() | nil
}