Function medea_jason::api::dart::api::room_handle_on_new_connection
source · 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.