Package akka.compat
Class Future$
- java.lang.Object
-
- akka.compat.Future$
-
public class Future$ extends java.lang.Object
INTERNAL APICompatibility wrapper for
scala.concurrent.Future
to be able to compile the same code against Scala 2.12, 2.13Remove these classes as soon as support for Scala 2.12 is dropped!
-
-
Constructor Summary
Constructors Constructor Description Future$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> scala.concurrent.Future<scala.Option<T>>
find(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, scala.Function1<T,java.lang.Object> p, scala.concurrent.ExecutionContext executor)
<T> scala.concurrent.Future<scala.Option<T>>
find(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, scala.Function1<T,java.lang.Object> p, scala.concurrent.ExecutionContext executor)
<T,R>
scala.concurrent.Future<R>fold(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, R zero, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
<T,R>
scala.concurrent.Future<R>fold(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, R zero, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
<T,R>
scala.concurrent.Future<R>reduce(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
<T,R>
scala.concurrent.Future<R>reduce(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
-
-
-
Field Detail
-
MODULE$
public static final Future$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fold
public <T,R> scala.concurrent.Future<R> fold(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, R zero, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
-
fold
public <T,R> scala.concurrent.Future<R> fold(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, R zero, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
-
reduce
public <T,R> scala.concurrent.Future<R> reduce(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
-
reduce
public <T,R> scala.concurrent.Future<R> reduce(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, scala.Function2<R,T,R> op, scala.concurrent.ExecutionContext executor)
-
find
public <T> scala.concurrent.Future<scala.Option<T>> find(scala.collection.IterableOnce<scala.concurrent.Future<T>> futures, scala.Function1<T,java.lang.Object> p, scala.concurrent.ExecutionContext executor)
-
find
public <T> scala.concurrent.Future<scala.Option<T>> find(scala.collection.immutable.Iterable<scala.concurrent.Future<T>> futures, scala.Function1<T,java.lang.Object> p, scala.concurrent.ExecutionContext executor)
-
-