Skip to content

Commit b6d4cb9

Browse files
committed
Publish update
1 parent 6e30f74 commit b6d4cb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,13 @@ var user = await mediator.InvokeAsync<User>(new CreateUser(...));
149149

150150
## 📦 Publish API & Behavior
151151

152+
Sends a message to zero or more handlers (by convention); all are invoked inline and in parallel.
153+
If any handler fails, `PublishAsync` throws (aggregates) exceptions.
154+
152155
```csharp
153156
await mediator.PublishAsync(new OrderShipped(orderId));
154157
```
155158

156-
All handlers run in parallel; if any fail, PublishAsync throws.
157-
158159
## 📊 Performance Benchmarks
159160

160161
Foundatio.Mediator delivers exceptional performance, getting remarkably close to direct method calls while providing full mediator pattern benefits:

0 commit comments

Comments
 (0)