pub fn execute_script(
config: &ScriptConfig,
input: &ScriptInput,
) -> Result<ScriptResponse>Expand description
Execute a script with the given input (blocking).
Do not call this from async code — it blocks the calling thread for the
duration of the script. Use execute_script_async instead.
The work is performed on a dedicated thread running its own current-thread tokio runtime, so this is safe to call even when a runtime already exists on the current thread (it will not panic with “cannot start a runtime from within a runtime”), but it will still block that thread.