emitWhenConnected method
- RoomEvent event
Implementation
@internal
void emitWhenConnected(RoomEvent event) {
if (connectionState == ConnectionState.connected) {
events.emit(event);
}
}
@internal
void emitWhenConnected(RoomEvent event) {
if (connectionState == ConnectionState.connected) {
events.emit(event);
}
}