You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I deep use auto-session for a long time, this is an convenient plugin in moust time, a little touble is about command hook usage, we have write all hook function in setup() config
This should add the action to a list of actions. That list should be initialized on setup and appended to when calling this register function.
The hook when fired should then loop over all the actions calling them one by one as it does today.
Note: hook_name is as per defined in the readme currently.
Is your feature request related to a problem? Please describe.
I deep use
auto-session
for a long time, this is an convenient plugin in moust time, a little touble is about command hook usage, we have write all hook function insetup()
configwhich couple other plugin with
auto-session.setup()
, which may be affected by the order of plugin setup()Describe the solution you'd like
Can we provide a register hook mechanism, e.g.
Other plugin/config can register hook anywhere, with it identifier, plugin/config can update the hook function if they what
Additional context
Some extend ability via register function examples:
I will be pleasure to implement the feature with API contract
The text was updated successfully, but these errors were encountered: