Ayomide01/03/2021, 2:58 PM
- I'm trying to figure out how to keep the web socket session (
) running in the background so that I can collect the
messages and display them on screen as they stream in into a
or similar. I'm not sure how to fit this into Compose's state tools. I tried using
but it seems like the web socket session would stop as soon as the coroutine scope ended.
ahulyk01/03/2021, 3:25 PM
Ayomide01/03/2021, 3:44 PM