Function holochain::core::check_and_hold_store_entry [−][src]
pub async fn check_and_hold_store_entry<F>(
hash: &HeaderHash,
workspace: &SysValidationWorkspace,
network: HolochainP2pCell,
incoming_dht_ops_sender: Option<IncomingDhtOpSender>,
f: F
) -> Result<(), SysValidationError> where
F: FnOnce(&Element) -> Result<(), SysValidationError>,
Expand description
If we are not holding this header then retrieve it and send it as a StoreEntry DhtOp to our incoming_dht_ops_workflow.
Apply a checks callback to the Element.
Additionally sys validation will be triggered to run again if we weren’t holding it.