1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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 Savolainen 2022-05-05 09:03:31 +03:00
parent 0f067da6f4
commit 07f01d52a5
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
2 changed files with 6 additions and 6 deletions

View File

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

View File

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