Some users might have specific subroutines that they need to run after switching to a new context, e.g. re-authenticating. A hook will let them do that.
Each function in after-context-switch-hook should take the previous context name as well as the new current context name.
Definition of Done
[x] Implement the hook
[x] Document the hook in a how-to, e.g. "re-authenticating every time you switch a context"
Some users might have specific subroutines that they need to run after switching to a new context, e.g. re-authenticating. A hook will let them do that.
Each function in
after-context-switch-hook
should take the previous context name as well as the new current context name.Definition of Done