Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] Add poc with IO #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[POC] Add poc with IO #6

wants to merge 1 commit into from

Conversation

AL333Z
Copy link

@AL333Z AL333Z commented May 7, 2018

This POC will show what I had in mind at first.
It's fairly incomplete, but it may give you the basic idea.

Open points:

  • how to support error handling: with IO we have two choices:
    • returning an IO<Response>
    • returning an IO<Either<E, Response>>,
    • right now in the scala world there's a nice debate on a related manner (not properly this scenario, but something similar)
  • how to properly handle thread pools in IO vs Retrofit

TBD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant