Skip to content

Commit

Permalink
fix readme syntax bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lepicekmichal committed Dec 31, 2022
1 parent e58a6ac commit a24bdce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ connection.send("UploadStream", flow<Int> {
```kotlin
connection.connectionState.collect {
when (it) {
is CONNECTED -> println("Yay, we online")
is DISCONNECTED -> println("Shut off!")
is CONNECTING -> println("Almost there")
is RECONNECTING -> println("Down again")
HubConnectionState.CONNECTED -> println("Yay, we online")
HubConnectionState.DISCONNECTED -> println("Shut off!")
HubConnectionState.CONNECTING -> println("Almost there")
HubConnectionState.RECONNECTING -> println("Down again")
}
}
```
Expand Down

0 comments on commit a24bdce

Please sign in to comment.