pub fn throughput(&mut self, n: usize) -> &mut Self {
        assert!(
            n > 0,
            "The throughput must be larger than 0, or no events will be handled"
        );
        self.throughput = n;
        self
    }
/// Set the maximum number of events/messages to handle before rescheduling a component
///
/// Larger values can increase throughput on highly loaded components,
/// but at the cost of fairness between components.
Set the maximum number of events/messages to handle before rescheduling a component
Larger values can increase throughput on highly loaded components,
but at the cost of fairness between components.
Set the maximum number of events / messages to handle before rescheduling a component Larger values can increase throughput on highly loaded components but at the cost of fairness between components .
pub fn throughput(&mut self, n: usize) -> &mut Self {
        assert!(
            n > 0,
            "The throughput must be larger than 0, or no events will be handled"
        );
        self.throughput = n;
        self
    }
pub fn throughput ( & mut self , n : usize ) -> & mut Self { assert ! ( n 0 " " ) ; self . throughput = n ; self }
Set the maximum number of events/messages to handle before rescheduling a component
Larger values can increase throughput on highly loaded components,
but at the cost of fairness between components.
Set the maximum number of events / messages to handle before rescheduling a component Larger values can increase throughput on highly loaded components but at the cost of fairness between components .
&mut self
n
usize
&mut self
n
usize