/// Check if `MsgChannel` contains a message.
Check if `MsgChannel` contains a message.
Check if ` MsgChannel ` contains a message .
fn is_empty(&self, c: MsgChannel) -> bool {
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel(c).is_empty()).unwrap();
        });
        rx.recv().unwrap()
    }
fn is_empty ( & self , c : MsgChannel ) -> bool { let ( tx , rx ) = channel ( ) ; self . transaction ( & move | data | { tx . send ( data . get_channel ( c ) . is_empty ( ) ) . unwrap ( ) ; } ) ; rx . recv ( ) . unwrap ( ) }
Check if `MsgChannel` contains a message.
Check if ` MsgChannel ` contains a message .
&self
c
MsgChannel