Skip to content

Commit

Permalink
added example link for event groups
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed Dec 16, 2024
1 parent 749927c commit 244492e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/docs/cqrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 244492e

Please sign in to comment.