Skip to content

Commit 5f89a82

Browse files
Update hybrid-application.md
I was going through the documentation and found that startAllMicroservicesAsync() is deprecated on newer version. Source: https://docs.nestjs.com/migration-guide#async-listenstart-methods
1 parent 1cf8f1a commit 5f89a82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/faq/hybrid-application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const microservice = app.connectMicroservice({
88
transport: Transport.TCP,
99
});
1010

11-
await app.startAllMicroservicesAsync();
11+
await app.startAllMicroservices();
1212
await app.listen(3001);
1313
```
1414

@@ -31,7 +31,7 @@ const microserviceRedis = app.connectMicroservice<MicroserviceOptions>({
3131
},
3232
});
3333

34-
await app.startAllMicroservicesAsync();
34+
await app.startAllMicroservices();
3535
await app.listen(3001);
3636
```
3737

0 commit comments

Comments
 (0)