Thread
#multiplatform
    c

    carlos cdmp

    1 year ago
    As I am using ktor client for networking, is there a way to directly get the call executed inside a Kotlin Flow or, even better, StateFlow?
    mbonnin

    mbonnin

    1 year ago
    Aren't ktor methods
    suspend
    by default?
    Flow
    doesn't make a lot of sense in the context of a HTTP request since you get single values
    c

    carlos cdmp

    1 year ago
    Im consuming a websocket, and using a channel, just ondering if there was a built way to consume it directly as a flow
    mbonnin

    mbonnin

    1 year ago