Custom Modules - WunderGraph
Available Hooks
The Cosmo Streams system provides three main hook interfaces that you can implement with Custom Modules:
SubscriptionOnCreateHandler: Called before a subscription is registered, allows modifying the event configuration (experimental)SubscriptionOnStartHandler: Called when a client subscribesOnReceiveEventHandler: Called when events are received from a message brokerOnPublishEventHandler: Called when events are going to be sent to a message broker