Returns a scala.concurrent.Future that will be completed with the success or failure of the provided value after the specified duration.
Returns a java.util.concurrent.CompletionStage that will be completed with the success or failure of the provided value after the specified duration.