8 m_context(context), m_vm(vm)
10 m_value = std::async(std::launch::async, [vm, context, args]()
mutable {
11 return vm->
resolve(context, args);
The ArkScript virtual machine.
The ArkScript virtual machine, executing ArkScript bytecode.
void deleteContext(internal::ExecutionContext *ec)
Free a given execution context.
Value resolve(const Value *val, Args &&... args)
Resolving a function call (called by plugins and builtins)
ExecutionContext * m_context
std::future< Value > m_value
Future(ExecutionContext *context, VM *vm, std::vector< Value > &args)