onConnectionEstablished property
Stream<void>
get
onConnectionEstablished
Used to listen on whenever the client manages to establish connection
receiving the event with name pusher:connection_established
Implementation
Stream<void> get onConnectionEstablished => lifecycleStream
.where(
(event) =>
event == PusherChannelsClientLifeCycleState.establishedConnection,
)
.map(voidStreamMapper);