pub async fn check_and_hold_any_store_entry<F>(
    hash: &EntryHash,
    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 entry then retrieve any record at this EntryHash and send it as a StoreEntry DhtOp to our incoming_dht_ops_workflow.

Note this is different to check_and_hold_store_entry because it gets the Record via an EntryHash which means it will be any Record.

Apply a checks callback to the Record.

Additionally sys validation will be triggered to run again if we weren’t holding it.