Skip to main content

rtc_recv

Function rtc_recv 

Source
pub fn rtc_recv(peer_id: u32, channel_id: u32) -> Option<RtcMessage>
Expand description

Poll for an incoming message on any channel of the peer (pass channel_id = 0) or on a specific channel.

Returns None when no message is queued.