feat(core, event-bus): Compensate emit event step utility (#13281)

* feat(core, event-bus): Compensate emit event step utility

* tests

* Update changeset to remove integration-tests-modules

Removed integration-tests-modules from changeset.

* revert test script
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2025-08-25 15:08:09 +02:00
1 parent 73a25abecb
commit fc49253273
11 files changed
+547 -22

No files matched your search

+10 -2
View File
@@ -38,8 +38,16 @@ export abstract class AbstractEventBusModuleService
*/
// Given a eventGroupId, all the grouped events will be released
abstract releaseGroupedEvents(eventGroupId: string): Promise<void>
// Given a eventGroupId, all the grouped events will be cleared
abstract clearGroupedEvents(eventGroupId: string): Promise<void>
// Given a eventGroupId, all the grouped events will be cleared unless eventNames are provided
// If eventNames are provided, only the events that match the eventNames will be cleared from the
// group
abstract clearGroupedEvents(
eventGroupId: string,
options?: {
eventNames?: string[]
}
): Promise<void>
protected storeSubscribers({
event,