Skip to main content

call

Function call 

Source
pub fn call(
    plugin: &LoadedPlugin,
    operation: &str,
    input: Value,
    timeout_override_ms: Option<u64>,
) -> Result<Value, HostError>
Expand description

Execute one plugin operation in a spawned child (crash-isolated). Grants are enforced: state read/write ops need the matching grant; everything else needs at least discovery (the plugin is enabled).