Skip to main content

hold_until

Function hold_until 

Source
pub fn hold_until(owner: &str, value: &str, expires_at: i64)
Expand description

Withholds value for owner until expires_at (unix ms), when it stops working. A renewed value the owner holds next with hold_until does not take its place: the value that was replaced still works until its own expiry, so it stays withheld until then. Holding the same value and expiry again changes nothing.