ms
09/02/2021, 7:00 AM@Streaming
@GET("api")
fun streamData(): Observable<ResponseBody>
earlier I'm using this API with Rx. Now I want to convert this to Kotlin Flows
This is my change
@Streaming
@GET("api")
suspend fun streamData(): Flow<ResponseBody>
I'm not getting any data when collecting.
What am I doing wrong?