runOnThreadReturningFuture

fun <V, E> runOnThreadReturningFuture(action: () -> Future<V, E>): Future<V, E>

Runs the specified action on this thread, returning a Future to the original thread.