Add hook.
Run command:after hook with dependencies. Note that this method is EXPERIMENTAL and might change without
warning!
Run command:before hook with dependencies. Note that this method is EXPERIMENTAL and might change without
warning!
Remove one or more hook handlers.
Optionalfn: HookRun hook.
Run server:start hook with dependencies. Note that this method is EXPERIMENTAL and might change without warning!
Run server:stop hook with dependencies. Note that this method is EXPERIMENTAL and might change without warning!
Hook class.