RFC: User Hooks #3050
ScriptedAlchemy
started this conversation in
RFC
RFC: User Hooks
#3050
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Allow users to extend or add custom hooks to our FederationHost interfaces.
FederationHost should have something like
userHooks
that complimenthooks
General Idea:
Hooks should be accessable to universally via the federation global or by using getInstance()
Using a hook.
For example, an application could emit information such as app state to the hook.
Consuming info from the hook in another application.
Or responding to the hook in a runtimePlugin:
Beta Was this translation helpful? Give feedback.
All reactions