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

Can't make async calls #128

Open
Pucilowski opened this issue Oct 7, 2024 · 0 comments
Open

Can't make async calls #128

Pucilowski opened this issue Oct 7, 2024 · 0 comments

Comments

@Pucilowski
Copy link

Currently all of the API calls run synchronously using okhttp's Call.execute. This will block the calling thread which in some contexts just isn't allowed.

I can work around this by rolling my own *Async complementary methods that will use Call.enqueue instead.

I'm writing this issue to gauge interest on whether these methods would be generally useful to the library and the people who use it.

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

No branches or pull requests

1 participant