Function tea_sdk::utils::client_wasm_actor::help::set_query_cache
pub async fn set_query_cache(key: &str, val: Value) -> Result<(), Errors>
Expand description
Using to cache value for query request. The end-user will return data from miner node directly if using this for a query. The expired time is 10 minutes.