open static fun <T : Any> future(handler: Handler<Future<T>>): Future<T>
Create a future that hasn't completed yet and that is passed to the handler before it is returned.
Return
the future.
open static fun <T : Any> future(): Future<T>
Create a future that hasn't completed yet
Return
the future