Skip to main content

execute_entry

Function execute_entry 

Source
pub fn execute_entry(
    javascript: &str,
    entry: &str,
    event: &Value,
    limits: &Limits,
    host: impl FnMut(&str, Value) -> Result<Value, String> + 'static,
) -> Result<Value, ScriptError>
Expand description

Same sandbox as execute, calling the global function entry(event) instead of workflow(event). The entry may return a value or a promise.