Closed ksysoev closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.94%. Comparing base (
e21f163
) to head (f79da99
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request adds the implementation of connection hooks logic to the ConnectionRegistry. It introduces two new options,
WithOnConnect
andWithOnDisconnect
, which allow users to set callback functions that will be executed when a new connection is established or when a connection is disconnected, respectively. This feature provides flexibility for performing additional operations or handling events related to connections.