Skip to main content

Module host

Module host 

Source

Structs§

EngineClock
Patch form of a fingerprinted state envelope, against the last one sent to this seat. None the first time a seat is served, or if anything is missing, and the caller falls back to the full state, which is always correct. When the engine host last received a player’s response, as milliseconds on its own monotonic clock. The response path writes it and the emit path reads it, so an outgoing envelope can say how long the engine took without anyone comparing clocks across hosts.
ShellBridgeHandle
The webview’s half of the data plane, handed in by a desktop shell.

Functions§

cli_entry
host_room
Host a single relay room until it ends or cancel is signalled. The crate’s public entry point — env-free; the caller supplies a fully-built Config.
host_room_bridged

Type Aliases§

RoomCancel
Signal a hosted room to shut down: call notify_one() to stop it.