MCPcopy Create free account
hub / github.com/ever-co/ever-demand / constructor

Method constructor

packages/core/src/app.module.ts:185–193  ·  view source on GitHub ↗
(
		// @Inject(HTTP_SERVER_REF)
		// private readonly httpServerRef: HttpServer,
		private readonly subscriptionsService: SubscriptionsService,
		// Next required for NestJS CQRS (see https://docs.nestjs.com/recipes/cqrs)
		private readonly moduleRef: ModuleRef,
		private readonly command$: CommandBus,
		private readonly event$: EventBus
	)

Source from the content-addressed store, hash-verified

183})
184export class ApplicationModule implements NestModule, OnModuleInit {
185 constructor(
186 // @Inject(HTTP_SERVER_REF)
187 // private readonly httpServerRef: HttpServer,
188 private readonly subscriptionsService: SubscriptionsService,
189 // Next required for NestJS CQRS (see https://docs.nestjs.com/recipes/cqrs)
190 private readonly moduleRef: ModuleRef,
191 private readonly command$: CommandBus,
192 private readonly event$: EventBus
193 ) {}
194
195 onModuleInit() {
196 // initialize CQRS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected