StatifierUI.Kino.Updater (StatifierUI v0.1.0)

Copy Markdown View Source

The inspector's render loop: a GenServer registered as the shared subscriber's listener, re-rendering every frame from the subscriber's buffer on a coalesced tick (one render at most every 80 ms, however fast messages arrive). Started via Kino.start_child/1 by StatifierUI.Kino.inspect/3, and terminated with the cell - which is what detaches the inspector.

Summary

Functions

Returns a specification to start this module under a supervisor.

Renders every pane now, skipping the coalescing delay.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

refresh(server)

@spec refresh(GenServer.server()) :: :ok

Renders every pane now, skipping the coalescing delay.