Skip to main content

lifecycle_key_for

Function lifecycle_key_for 

Source
pub fn lifecycle_key_for(life_id: u64, lifecycle_keys: usize) -> String
Expand description

The key a lifecycle id targets. Divides by 4 (the op cycle length) before taking the modulus so the key and the op are decorrelated: every key sees every op kind.