Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public onModuleInit() {
setLoggers({
error: this.logger.error.bind(this.logger),
info: this.logger.log.bind(this.logger),
debug: this.logger.debug.bind(this.logger),
});
this.bindMessageFromQueueToMessageHandlerInWorker();
}