Registry for Elixir callbacks passed to Python.
Manages callback lifecycle and provides invocation support.
Summary
Functions
Returns a specification to start this module under a supervisor.
Ensures the callback tool is registered for the session.
Handles callback tool invocations from Python.
Invokes a registered callback with arguments.
Registers an Elixir function as a callback.
Unregisters a callback.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec ensure_tool_registered(String.t() | nil) :: :ok
Ensures the callback tool is registered for the session.
Handles callback tool invocations from Python.
Invokes a registered callback with arguments.
Registers an Elixir function as a callback.
@spec unregister(String.t()) :: :ok
Unregisters a callback.