listener property

void Function(StreamingConnectionHandlerState state) listener
final

A listener that is called whenever the state of the connection handler changes.

Implementation

final void Function(StreamingConnectionHandlerState state) listener;