/// Create a new sender/receiver pair.
Create a new sender/receiver pair.
Create a new sender / receiver pair .
pub(crate) fn channel() -> (Self, ServerUpdateReceiver) {
        let (sender, receiver) = tokio::sync::mpsc::channel(1);
        (
            ServerUpdateSender { sender },
            ServerUpdateReceiver { receiver },
        )
    }
pub ( crate ) fn channel ( ) -> ( Self , ServerUpdateReceiver ) { let ( sender , receiver ) = tokio :: sync :: mpsc :: channel ( 1 ) ; ( ServerUpdateSender { sender } , ServerUpdateReceiver { receiver } , ) }
Create a new sender/receiver pair.
Create a new sender / receiver pair .