Skip to main content

payload_kind_for_hook

Function payload_kind_for_hook 

Source
pub fn payload_kind_for_hook(hook_name: &str) -> PayloadKind
Expand description

Resolve a hook name to its payload kind.

The cmf. prefix is checked first: cmf.tool_pre_invoke must route to the CMF message payload, not to the legacy tool payload whose name it contains.