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

Compatibility with suspend functions #2

Closed
JavierSegoviaCordoba opened this issue Aug 11, 2019 · 2 comments
Closed

Compatibility with suspend functions #2

JavierSegoviaCordoba opened this issue Aug 11, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@JavierSegoviaCordoba
Copy link

At this moment the library is working with deferred and normal functions but if you try to use the new Retrofit support for suspend functions without the deferred wrapper it is not working.

@haroldadmin
Copy link
Owner

Thanks for bringing this up. I'll work on adding support for suspending functions for the next release.

@haroldadmin haroldadmin added the enhancement New feature or request label Aug 11, 2019
@haroldadmin
Copy link
Owner

Support added via this PR. This will be released as a 3.0 release, because there are some potentially breaking changes in the API.

CoroutinesNetworkResponseAdapter and CoroutinesNetworkResponseAdapterFactory classes have been deprecated, and replaced with NetworkResponseAdapter and NetworkResponseAdapterFactory classes.

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

No branches or pull requests

2 participants