getStateStream method

  1. @override
Stream<ConnectionStateChange>? getStateStream(
  1. TransportConn conn
)
override

Returns a stream of state changes for a specific connection.

Subscribers to this stream will be notified whenever the connection's state changes.

conn The transport connection to monitor.

Returns a Stream of ConnectionStateChange events, or null if the connection is not registered with the manager.

Implementation

@override
Stream<ConnectionStateChange>? getStateStream(TransportConn conn) {
  return null;
}