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