Skip to main content

execute

Function execute 

Source
pub async fn execute(
    run_ctx: &RunContext,
    runtime: Runtime,
    script: String,
) -> Result<Result<Value, ScriptError>>
Expand description

Execute the Lua runtime on a blocking thread and emit a terminal RunDone event. Returns the report value (or the script error).