implementHookDecorator(hookType, args): Function | void
Implementation for hook decorator functions. These are polymorphic. When
called with a single argument (IHookOptions) they return a decorator
factory function. When called with multiple arguments, they add the hook
to the model’s metadata.
Implementation for hook decorator functions. These are polymorphic. When called with a single argument (IHookOptions) they return a decorator factory function. When called with multiple arguments, they add the hook to the model’s metadata.