Tweak naming of runnables

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne SavolainenandMikko Aspiala committed 2022-05-11 08:28:13 +03:00
1 parent 0f067da6f4
commit 07f01d52a5
2 files changed
+6 -6

No files matched your search

@@ -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;
@@ -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;