kcl_lib::executor

Type Alias MemoryFunction

source
pub type MemoryFunction = fn(s: Vec<KclValue>, memory: ProgramMemory, expression: Box<FunctionExpression>, metadata: Vec<Metadata>, exec_state: &ExecState, ctx: ExecutorContext) -> Pin<Box<dyn Future<Output = Result<Option<KclValue>, KclError>> + Send>>;