Handling messages

Report a typo

Fix the line order and indentation in the code that prints every incoming text frame to standard output.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                for (frame in incoming) {
              
                }
              
                val text = frame.readText()
              
                println(text)
              
                if (frame is Frame.Text) {
              
___

Create a free account to access the full topic