4 ms·
It seems that we can make an API call nonblocking but we'll have to block and wait for such call to complete. How can they mention reactive/event-driven in the
by jongwook 11y ago
It seems that we can make an API call nonblocking but we'll have to block and wait for such call to complete. How can they mention reactive/event-driven in the middle of the blog and not provide an asynchronous API? Java 8 CompletableFuture would've been the perfect abstraction for it.
- danielmewes 11y agoDaniel @ RethinkDB here. We're going to add an asynchronous API soon. We decided to get the synchronous driver out to get some early feedback and because we know that a lot of our users have been waiting for official Java support, and not all of them need an async API. You might be interested in following this GitHub issue: https://github.com/rethinkdb/rethinkdb/issues/4802 https://github.com/rethinkdb/rethinkdb/issues/4802