object
Future
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
apply[T](body: ⇒ T)(implicit ec: ExecutionContext): Future[T]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
final
def
failed[T](exception: Throwable): Future[T]
-
def
finalize(): Unit
-
final
def
find[T](futures: Iterable[Future[T]])(p: (T) ⇒ Boolean)(implicit ec: ExecutionContext): Future[Option[T]]
-
final
def
firstCompletedOf[T](futures: Iterable[Future[T]])(implicit ec: ExecutionContext): Future[T]
-
final
def
fold[T, R](futures: Iterable[Future[T]])(zero: R)(op: (R, T) ⇒ R)(implicit ec: ExecutionContext): Future[R]
-
final
def
foldLeft[T, R](futures: Iterable[Future[T]])(zero: R)(op: (R, T) ⇒ R)(implicit ec: ExecutionContext): Future[R]
-
final
def
fromTry[T](result: Try[T]): Future[T]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
reduce[T, R >: T](futures: Iterable[Future[T]])(op: (R, T) ⇒ R)(implicit ec: ExecutionContext): Future[R]
-
final
def
reduceLeft[T, R >: T](futures: Iterable[Future[T]])(op: (R, T) ⇒ R)(implicit ec: ExecutionContext): Future[R]
-
final
def
sequence[A](in: Seq[Future[A]])(implicit ec: ExecutionContext): Future[Seq[A]]
-
final
def
sequence[A](in: Vector[Future[A]])(implicit ec: ExecutionContext): Future[Vector[A]]
-
final
def
sequence[A](in: List[Future[A]])(implicit ec: ExecutionContext): Future[List[A]]
-
final
def
successful[T](result: T): Future[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
traverse[A, B](in: Seq[A])(fn: (A) ⇒ Future[B])(implicit ec: ExecutionContext): Future[Seq[B]]
-
final
def
traverse[A, B](in: Vector[A])(fn: (A) ⇒ Future[B])(implicit ec: ExecutionContext): Future[Vector[B]]
-
final
def
traverse[A, B](in: List[A])(fn: (A) ⇒ Future[B])(implicit ec: ExecutionContext): Future[List[B]]
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
An API-compatible implementation of scala.concurrent.Future, which is backed by ZIO. While this structure is not performant, due to emulation of the
Future
API, it can be useful to help migrate legacy code away fromFuture
and to ZIO.