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.

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.

Type Aliases§

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