The plug behind Dstar.Router.dstar/2. Drives Dstar.Page callbacks:
{:page, Module}— GET:mount/2thenrender/1through Phoenix's view pipeline (root layout, flash,page_titleall apply).{:event, Module}— POST_event/:event: reads signals, starts SSE, callshandle_event/3.{:stream, Module}— POST: starts SSE (deduped whenstream_key/1is defined), callshandle_connect/2, then owns the receive loop dispatching tohandle_info/2.
All control flow lives here as plain functions — pages contain only callbacks.