From 7aeef8dada88012030e74d763e4e5a66b8aeef00 Mon Sep 17 00:00:00 2001 From: vglebovich-lmru <173266533+vglebovich-lmru@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:50:20 +0000 Subject: [PATCH] docs: notice about the right order of `startAllMicroservices` and `listen` --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9d84b42..57398ae 100644 --- a/README.md +++ b/README.md @@ -329,6 +329,8 @@ async function bootstrap(): Promise { await app.startAllMicroservices(); // ... + + await app.listen(...) } // ... @@ -338,6 +340,9 @@ async function bootstrap(): Promise { ### Consuming Messages +> [!IMPORTANT] +> Put `app.startAllMicroservices()` after your `app.listen(...)` +