Function de_net::tasks::sreceiver::run

source ·
pub(super) async fn run(
    port: u16,
    cancellation: CancellationRecv,
    datagrams: Receiver<InSystemDatagram>,
    dispatch_handler: DispatchHandler
)
Expand description

Handler of protocol control datagrams.

The handler runs a loop which finishes when datagrams channel is closed.