Skip to content

[Feature Request] Support adapter for Kotlin Coroutine Flow #3497

@PatilShreyas

Description

@PatilShreyas

Feature Request

It would be great if it supports Kotlin Coroutine Flow<T> adapter for getting a response in the stream.

For example:

interface FeedApi {
    @GET("/")
    fun getPosts(): Flow<List<Post>>
}

If this is available then it will be easy to use and it'll be easy to map network response to the app's data model and for many Flow specific operations as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions