Function holochain::core::workflow::call_zome_workflow::call_zome_function_authorized[][src]

pub async fn call_zome_function_authorized<R>(
    ribosome: R,
    host_access: ZomeCallHostAccess,
    invocation: ZomeCallInvocation
) -> WorkflowResult<(R, RibosomeResult<ZomeCallResponse>)> where
    R: RibosomeT + Send + 'static, 
Expand description

First check if we are authorized to call the zome function. Then send to a background thread and call the zome function.