interface IBaseBroker<TEvents extends Record<string, any>>
Type Parameters
Record<string, any> TEvents extends
Subscribes to the given events, grouping them by the given group name
interface IBaseBroker<TEvents extends Record<string, any>>
Subscribes to the given events, grouping them by the given group name
Unsubscribes from the given events - it's required to pass the same group name as when subscribing for proper cleanup