You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, we had one callback for each kind of message that a `ConnectionHandler` would receive from either its `NetworkBehaviour` or the connection itself.
With this patch, we combine these functions, resulting in two callbacks:
- `on_behaviour_event`
- `on_connection_event`
Resolves#3080.
Description
Replace the various ConnectionHandler::inject_xxx methods with a single ConnectionHandler::on_event method and a Event enum.
Motivation
Akin to #2832. (see #2832 (comment)) and related to #2854
Are you planning to do it yourself in a pull request?
Yes
The text was updated successfully, but these errors were encountered: