From 244492e5880d6f27cb06eef58a02891a6e892982 Mon Sep 17 00:00:00 2001 From: Robert Laszczak Date: Mon, 16 Dec 2024 16:48:10 +0100 Subject: [PATCH] added example link for event groups --- docs/content/docs/cqrs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/docs/cqrs.md b/docs/content/docs/cqrs.md index 2923f2a2..cc6c0302 100644 --- a/docs/content/docs/cqrs.md +++ b/docs/content/docs/cqrs.md @@ -182,6 +182,8 @@ After that, you can use `AddHandlersGroup` on [`EventProcessor`](#event-processo Both `GenerateHandlerGroupSubscribeTopic` and `GroupSubscriberConstructor` receives information about group name in function arguments. +You can see a fully working example with event groups in our [examples](https://github.com/ThreeDotsLabs/watermill/tree/master/_examples/basic/6-cqrs-ordered-events/). + ### Generic handlers Since Watermill v1.3 it's possible to use generic handlers for commands and events. It's useful when you have a lot of commands/events and you don't want to create a handler for each of them.