joao-r-reis commented on code in PR #1929:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1929#discussion_r2874088301


##########
session.go:
##########
@@ -81,6 +81,17 @@ type Session struct {
        // event handlers
        nodeEvents *eventDebouncer
 
+       // node state change listeners
+       topologyChangeListener TopologyChangeListener
+       hostStateListener      HostStatusChangeListener
+
+       // schema change listeners
+       keyspaceChangeListener  KeyspaceChangeListener
+       tableChangeListener     TableChangeListener
+       userTypeChangeListener  UserTypeChangeListener
+       functionChangeListener  FunctionChangeListener
+       aggregateChangeListener AggregateChangeListener

Review Comment:
   we could just store a `SchemaListeners` field here instead too



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to