Function tea_sdk::utils::wasm_actor::actors::kvp::set

pub async fn set<T>(key: &str, value: &T, expires_s: i32) -> Result<T, Error>where
    T: Serialize + DeserializeOwned,
Expand description

Set cache value to key-value actor and optionally how many seconds until expired