binance-connector-java icon indicating copy to clipboard operation
binance-connector-java copied to clipboard

Can't make async calls

Open Pucilowski opened this issue 4 months ago • 0 comments

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.

Pucilowski avatar Oct 07 '24 16:10 Pucilowski