diff --git a/src/main/start-main-application/runnables/emit-close-to-command-bus.injectable.ts b/src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.ts similarity index 82% rename from src/main/start-main-application/runnables/emit-close-to-command-bus.injectable.ts rename to src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.ts index ee238c864c..316114f205 100644 --- a/src/main/start-main-application/runnables/emit-close-to-command-bus.injectable.ts +++ b/src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.ts @@ -6,8 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable"; import appEventBusInjectable from "../../../common/app-event-bus/app-event-bus.injectable"; import { beforeQuitOfFrontEndInjectionToken } from "../runnable-tokens/before-quit-of-front-end-injection-token"; -const emitCloseToCommandBusInjectable = getInjectable({ - id: "emit-close-to-command-bus", +const emitCloseToEventBusInjectable = getInjectable({ + id: "emit-close-to-event-bus", instantiate: (di) => { const appEventBus = di.inject(appEventBusInjectable); @@ -22,4 +22,4 @@ const emitCloseToCommandBusInjectable = getInjectable({ injectionToken: beforeQuitOfFrontEndInjectionToken, }); -export default emitCloseToCommandBusInjectable; +export default emitCloseToEventBusInjectable; diff --git a/src/main/start-main-application/runnables/emit-service-start-to-command-bus.injectable.ts b/src/main/start-main-application/runnables/emit-service-start-to-event-bus.injectable.ts similarity index 80% rename from src/main/start-main-application/runnables/emit-service-start-to-command-bus.injectable.ts rename to src/main/start-main-application/runnables/emit-service-start-to-event-bus.injectable.ts index 0967bb00f3..0d3e4cf043 100644 --- a/src/main/start-main-application/runnables/emit-service-start-to-command-bus.injectable.ts +++ b/src/main/start-main-application/runnables/emit-service-start-to-event-bus.injectable.ts @@ -6,8 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable"; import appEventBusInjectable from "../../../common/app-event-bus/app-event-bus.injectable"; import { afterApplicationIsLoadedInjectionToken } from "../runnable-tokens/after-application-is-loaded-injection-token"; -const emitServiceStartToCommandBusInjectable = getInjectable({ - id: "emit-service-start-to-command-bus", +const emitServiceStartToEventBusInjectable = getInjectable({ + id: "emit-service-start-to-event-bus", instantiate: (di) => { const appEventBus = di.inject(appEventBusInjectable); @@ -22,4 +22,4 @@ const emitServiceStartToCommandBusInjectable = getInjectable({ injectionToken: afterApplicationIsLoadedInjectionToken, }); -export default emitServiceStartToCommandBusInjectable; +export default emitServiceStartToEventBusInjectable;