We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1ae03 commit becd8c3Copy full SHA for becd8c3
1 file changed
example/server.ts
@@ -8,8 +8,9 @@ const microservice = app.connectMicroservice({
8
transport: Transport.TCP,
9
port: 5667,
10
});
11
-microservice.listen(() => ({}));
+
12
+app.startAllMicroservices(() => console.log('All microservices are listening...'));
13
app.listen(port, () => {
14
console.log('Application listen on port:', port);
- //app.close();
15
+ app.close();
16
0 commit comments