api
api copied to clipboard
Ability to pass data between hooks
In some circumstances, multiple hooks are fired for the same request (e.g. beforeGet
and afterGet
). In these cases, it would be useful if data computed in a hook could be made available to other hooks that run subsequently.