pub fn room_handle_on_new_connection(
    room_handle: RustOpaque<RoomHandle>,
    cb: DartOpaque
) -> Result<SyncReturn<()>>
Expand description

Sets a callback to be invoked once a new Connection with some remote Peer is established.

Errors

If RoomHandle::on_new_connection() errors.