README.md in routemaster-drain-3.6.4 vs README.md in routemaster-drain-3.6.5
- old
+ new
@@ -137,9 +137,16 @@
map '/events' do
run $app
end
```
+You can use the `.subscribe` method multiple times to have your event batches
+go through multiple listeners. But bear in the mind any performance cost of
+multiple places of processing the event batches. For example, instead of having
+multiple listener classes that iterate over the events in a batch, you can have
+a single listener class that iterates over the batch only once and reacts to the
+batch's events accordingly.
+
This relies on the excellent event bus from the [wisper
gem](https://github.com/krisleech/wisper#wisper).
### Receive change notifications without duplicates