Skip to main content

serve

Function serve 

Source
pub fn serve<M: RemoteMessage>(
    addr: ChannelAddr,
) -> Result<(ChannelAddr, ChannelRx<M>), ChannelError>
Expand description

Serve a receiver that accepts unordered senders.

The network server already routes multi-stream sessions by SessionId, so unordered serving uses the same listener as the ordered channel API.