Function store_flows::set

source ·
pub fn set(key: &str, value: Value, expire: Option<Expire>)
Expand description

Store the key/value pair.

If the key exists, old value will be replaced by the new value.

You can also pass expire to set the when then key will expire.