androidx.concurrent:concurrent-futures
Official Description: Androidx implementation of Guava's ListenableFuture
CommonsWare’s Notes
This artifact contains a few utility classes related to concurrent programming, including:
-
CallbackToFutureAdapter
, which helps you map a callback-based API into one that returns aFuture
, as a more reactive option -
DirectExecutor
, anExecutor
implementation that executes the supplied code directly on the current thread (useful for testing)
Documentation
Versions
- Latest Stable: 1.1.0
- Latest Release Candidate: 1.1.0-rc01
- Latest Beta: 1.1.0-beta01
- Latest Alpha: 1.1.0-alpha01