Skip to main content

host_room

Function host_room 

Source
pub async fn host_room(
    config: Config,
    cancel: RoomCancel,
    ready: Sender<String>,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

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.