Events might be convenient to use, but they are not very efficient.
For example, calling the
send or
receive event takes
30 milliseconds on average.
That may not sound much, but compared to the new method, events are way slower.
The
PacketHandlers never took over
1 millisecond to call while testing, so scaled to bigger servers it is a lot more efficient.