Skip to main content

worker_hook_name

Function worker_hook_name 

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

The hook name the Python worker knows hook_name by.

Used for the task’s hook_type and the plugin config’s hooks list, so the worker finds the right payload model, hook method and credential slot. A name outside the hook table passes through unchanged.