GenServer bridge for HtmlVisitor implementation in html_to_markdown.
Handles incoming trait method calls from Rust and dispatches them to an implementation module.
Summary
Functions
Returns a specification to start this module under a supervisor.
Handle an incoming trait call message.
Register an implementation module, starting a GenServer to handle trait calls.
Start a GenServer linked to the current process.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Handle an incoming trait call message.
Message format: {:trait_call, method_atom, args_json, reply_id}
Register an implementation module, starting a GenServer to handle trait calls.
Start a GenServer linked to the current process.
impl_module should be a module that implements the HtmlVisitor trait methods.