Skip to main content

Module control

Module control 

Source
Expand description

Local control: one bounded JSON exchange per connection, authenticated by UID.

Re-exportsΒ§

pub use state::State;

ModulesΒ§

activity πŸ”’
Paged views of the worker’s copied expert counters; no GPU access.
state
Small, bounded snapshots shared with the control thread. No prompts or logits.
stats
Statistics responses shared by the server and its clients.

StructsΒ§

Listener

EnumsΒ§

Command

ConstantsΒ§

MAX_FRAME πŸ”’
TIMEOUT πŸ”’

FunctionsΒ§

handle πŸ”’
page_limit πŸ”’
query
read_frame πŸ”’
The deadline applies to the whole frame, even if a client dribbles bytes.
same_user πŸ”’
wait_readable πŸ”’
write_frame πŸ”’