pub async fn call_zome_function_authorized<R>(
    ribosome: R,
    host_access: ZomeCallHostAccess,
    invocation: ZomeCallInvocation
) -> WorkflowResult<(R, RibosomeResult<ZomeCallResponse>)>where
    R: RibosomeT + '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.