Package kotlinx.coroutines.experimental.future
Integration with JDK8 CompletableFuture
(Android API level 24).
Extensions for External Classes
Functions
fun <T> future( Starts new coroutine and returns its result as an implementation of CompletableFuture. This coroutine builder uses CommonPool context by default and is conceptually similar to CompletableFuture.supplyAsync. |