Skip to main content

get_many_as_map

Function get_many_as_map 

Source
pub async fn get_many_as_map<S: CacheStore, T: DeserializeOwned>(
    store: &S,
    keys: &[&str],
) -> CacheResult<HashMap<String, T>>
Expand description

Build a HashMap from multiple keys fetched in parallel.