Function clocked_dispatch::new_with_seed
source · pub fn new_with_seed<T: Clone + Send + 'static>(
bound: usize,
seed: usize
) -> Dispatcher<T>
Expand description
Creates a new clocked dispatch whose automatically assigned sequence numbers start at a given value.
This method is useful for programs that wish to maintain monotonic sequence numbers between multiple executions of the application. Such an application should track received sequence numbers, store the latest one upon exiting, and then use this method to resume the sequence numbers from that point onward upon resuming.