/// Set the ratio between handling messages and events.
///
/// A component will handle up to throughput * r messages
/// and throughput * (1-r) events before rescheduling.
///
/// If there are less events or messages than alloted queued up
/// the remaining allotment will be redistributed to the other type
/// until all throughput is used up or no messages or events remain.
Set the ratio between handling messages and events.
A component will handle up to throughput * r messages
and throughput * (1-r) events before rescheduling.

If there are less events or messages than alloted queued up
the remaining allotment will be redistributed to the other type
until all throughput is used up or no messages or events remain.
Set the ratio between handling messages and events . A component will handle up to throughput * r messages and throughput * ( 1 - r ) events before rescheduling . If there are less events or messages than alloted queued up the remaining allotment will be redistributed to the other type until all throughput is used up or no messages or events remain .
pub fn msg_priority(&mut self, r: f32) -> &mut Self {
        assert!(
            r > 0.0,
            "The msg_priority must be larger than 0.0, or no messages will be handled"
        );
        self.msg_priority = r;
        self
    }
pub fn msg_priority ( & mut self , r : f32 ) -> & mut Self { assert ! ( r 0.0 " " ) ; self . msg_priority = r ; self }
Set the ratio between handling messages and events.
Set the ratio between handling messages and events .
&mut self
r
f32