Skip to content

Commit

Permalink
docs: notice about the right order of startAllMicroservices and `li…
Browse files Browse the repository at this point in the history
…sten`
  • Loading branch information
vglebovich-lmru committed Sep 3, 2024
1 parent f468532 commit 7aeef8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ async function bootstrap(): Promise<void> {
await app.startAllMicroservices();

// ...

await app.listen(...)
}

// ...
Expand All @@ -338,6 +340,9 @@ async function bootstrap(): Promise<void> {

### Consuming Messages

> [!IMPORTANT]
> Put `app.startAllMicroservices()` after your `app.listen(...)`
</details>

<details>
Expand Down

0 comments on commit 7aeef8d

Please sign in to comment.