Skip to main content

execute_script_with_timeout_async

Function execute_script_with_timeout_async 

Source
pub async fn execute_script_with_timeout_async(
    config: &ScriptConfig,
    input: &ScriptInput,
    timeout: Duration,
) -> Result<ScriptResponse>
Expand description

Execute a script with an explicit timeout (async, non-blocking).

Same as execute_script_async but with a caller-supplied wall-clock budget. Primarily useful for tests and for callers that need a tighter bound than DEFAULT_SCRIPT_TIMEOUT.