invoke

Function invoke 

Source
pub fn invoke(bytecode: &[u8], fn_name: Option<&str>) -> Result<()>
Expand description

Evaluates QuickJS bytecode and optionally invokes exported JS function with name.

ยงArguments

  • bytecode - The QuickJS bytecode
  • fn_name - The JS function name