Functions
FUNC hook
hook_type: The hook point name (e.g.,"generation_pre_call").mode: Execution mode —PluginMode.SEQUENTIAL(default),PluginMode.CONCURRENT,PluginMode.AUDIT, orPluginMode.FIRE_AND_FORGET.priority: Lower numbers execute first. For methods on a[Plugin](base#class-plugin)subclass, falls back to the class-level priority, then 50. For standalone functions, defaults to 50.