Skip to main content

run_execute

Function run_execute 

Source
pub async fn run_execute(
    config: &SandboxConfig,
    code: &str,
    dispatcher: Arc<dyn ToolDispatcher>,
    resource_dispatcher: Option<Arc<dyn ResourceDispatcher>>,
    stash_dispatcher: Option<Arc<dyn StashDispatcher>>,
) -> Result<Value, SandboxError>
Expand description

Run an execute operation on the current thread.

Public for reuse in the worker binary.