@2060.io/service-agent-nestjs-client
v1.1.0-dev.30
Published
## How to use the connections? ```node @Module({ imports: [ ConnectionsEventModule.register({ messageHandler: CustomMessageHandler, // Class with input method imports: [TypeOrmConfig] }) ] }) export class AppModule {} ```
Downloads
588
Readme
Nestjs-client
How to use the connections?
@Module({
imports: [
ConnectionsEventModule.register({
messageHandler: CustomMessageHandler, // Class with input method
imports: [TypeOrmConfig]
})
]
})
export class AppModule {}
How to use messages
@Module({
imports: [
MessageEventModule.register({
messageHandler: CustomMessageHandler, // Class with input method
imports: [TypeOrmConfig]
url: 'http://sa-url.com',
version: ApiVersion.V1,
}),
],
})