pub async fn ensure_data(
connection: &mut Connection,
data_cache: &DataCache,
required_data: HashSet<Hash>,
) -> Result<()>Expand description
Load all lazy-loading data hash from required_data into data_cache
The Data is fetched from connection
All Data timestamps in data_cache are updated