The module registers a Gateway bound with the key GatewaySymbol.
Register the module
import {ContainerBuilder} from "@tmorin/ceb-inversion-core"import {MoleculerModule} from "@tmorin/ceb-messaging-moleculer"const container = ContainerBuilder.get() .module(new MoleculerModule()) .build()
Register the module providing an existing Gateway Instance
import {ContainerBuilder} from "@tmorin/ceb-inversion-core"import {MoleculerModule, MoleculerGateway} from "@tmorin/ceb-messaging-moleculer"const container = ContainerBuilder.get() .module(new MoleculerModule({ gateway: MoleculerGateway.GLOBAL })) .build()
Options of the module.
The registry.
Override this method to cleanup things when the container is disposed.
Generated using TypeDoc
The module registers a Gateway bound with the key GatewaySymbol.
Register the module
Register the module providing an existing Gateway Instance