Function kcl_lib::executor::execute

source ·
pub fn execute<'life0, 'life1, 'async_recursion>(
    program: Program,
    memory: &'life0 mut ProgramMemory,
    _options: BodyType,
    ctx: &'life1 ExecutorContext
) -> Pin<Box<dyn Future<Output = Result<ProgramMemory, KclError>> + 'async_recursion>>
where 'life0: 'async_recursion, 'life1: 'async_recursion,
Expand description

Execute a AST’s program.