Skip to content

Commit 71d93e8

Browse files
committed
Updated handlers
1 parent b6d4cb9 commit 71d93e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services.AddMediator();
3333

3434
## 🧩 Simple Handler Example
3535

36-
Just add any class ending with `Handler` or `Consumer`:
36+
Just add a class ending with `Handler` or `Consumer`. Methods must be named `Handle(Async)` or `Consume(Async)`. Supports multiple handler methods in a single class—for example, a `UserHandler` containing Create, Read, Update, Delete methods.
3737

3838
```csharp
3939
public record Ping(string Text);

0 commit comments

Comments
 (0)