So the two things im missing before im sold on ktor is the ability to do work after the request has finished.
And SSE
e
elizarov
10/06/2018, 4:26 AM
GlobalScope.launch { ... }
gives you that and SSE is trivial to implement.
j
jkbbwr
10/06/2018, 5:49 AM
Im assuming globalscope.launch is the context for coroutines, and im assuming that I could hold a coroutine channel inside an sse handler and feed it data?
e
elizarov
10/06/2018, 7:35 AM
To implement SSE you don’t let let request terminate. You keep responding indefinitely.