Skip to main content

component_hook

Function component_hook 

Source
pub fn component_hook(
    text: &str,
    kind: Option<&str>,
    registry: &SymbolRegistry,
) -> Result<(Vec<HookArg>, Vec<i32>), String>
Expand description

A component’s hook as an interface writes it: script(args){transmits}. Gives the values the hook holds, its script first, and its transmit list.