AI.Agent.Coordinator.Interrupts (fnord v0.9.16)

View Source

Functions related to the Coordinator's user-interrupt handling behavior.

Summary

Types

coord()

@type coord() :: AI.Agent.Coordinator.t()

t()

@type t() :: %AI.Agent.Coordinator.Interrupts{
  listener: pid() | nil,
  pending: AI.Util.msg_list()
}

Functions

init(state)

@spec init(coord()) :: coord()

new(pid \\ nil)

@spec new(pid() | nil) :: t()

pending(map)

@spec pending(coord()) :: AI.Util.msg_list()