next_correlation_id

Function next_correlation_id 

Source
pub fn next_correlation_id() -> u64
Expand description

Generate a new correlation id.

use daedalus_runtime::executor::next_correlation_id;
let a = next_correlation_id();
let b = next_correlation_id();
assert!(b > a);