mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: In many unit tests, it's important to count the events. So far we have many many ad-hoc handlers to do so but having one that counts all events would be handy. Modifications: Add `EventCounterHandler` to count all events travelling the `ChannelPipeline`. Result: Easier unit testing