Lux.Signal.Router.Local (Lux v0.5.0)

View Source

Local implementation of the Router behaviour using GenServer.

This router handles signal delivery between agents running in the same BEAM VM. It supports simple pub/sub for signal delivery events.

Summary

Functions

Returns a specification to start this module under a supervisor.

Lists all agents registered with the router.

Starts the local router with the given options.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

list_agents(opts \\ [])

Lists all agents registered with the router.

start_link(opts \\ [])

Starts the local router with the given options.