Skip to content

Chaining has extremely complex return value #3

Description

@teradyl

Although this chaining example works, there's good reason to call sink OUTSIDE the function where we're chaining network calls. However, this requires the return value to be a complicated value that gets more complicated every time we had a chain to it. For example: Publishers.FlatMap<AnyPublisher<Void, Error>, AnyPublisher<API.MyApiResponse, Error>>

Do you know how this can be made simpler? Would love to see an example doing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions