async fn send_op(
        self,
        element: Element,
        make_op: fn(Element) -> Option<(DhtOpHash, DhtOp)>,
    ) -> SysValidationResult<()> {
        if let Some(op) = make_op(element) {
            let ops = vec![op];
            incoming_dht_ops_workflow(&self.env, self.sys_validation_trigger, ops, None)
                .await
                .map_err(Box::new)?;
        }
        Ok(())
    }
/// Sends the op to the incoming workflow
Sends the op to the incoming workflow
Sends the op to the incoming workflow
async fn send_op(
        self,
        element: Element,
        make_op: fn(Element) -> Option<(DhtOpHash, DhtOp)>,
    ) -> SysValidationResult<()> {
        if let Some(op) = make_op(element) {
            let ops = vec![op];
            incoming_dht_ops_workflow(&self.env, self.sys_validation_trigger, ops, None)
                .await
                .map_err(Box::new)?;
        }
        Ok(())
    }
async fn send_op ( self , element : Element , make_op : fn ( Element ) -> Option < ( DhtOpHash , DhtOp ) > , ) -> SysValidationResult < ( ) > { if let Some ( op ) = make_op ( element ) { let ops = vec ! [ op ] ; incoming_dht_ops_workflow ( & self . env , self . sys_validation_trigger , ops , None ) . await . map_err ( Box :: new ) ? ; } Ok ( ( ) ) }
Sends the op to the incoming workflow
Sends the op to the incoming workflow
self
element
Element
make_op
fn(Element) -> Option<(DhtOpHash, DhtOp)>
self
element
Element
make_op
fn(Element) -> Option<(DhtOpHash, DhtOp)>