object FutureCompanionOps

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureCompanionOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def eval[T](expr: ⇒ T): commons.Future[T]

    Evaluates an expression and wraps its value into a Future.

    Evaluates an expression and wraps its value into a Future. Failed Future is returned if expression evaluation throws an exception. This is very similar to Future.apply but evaluates the argument immediately, without dispatching it to some ExecutionContext.

  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def sequenceCompleted[A, M[X] <: TraversableOnce[X]](in: M[commons.Future[A]])(implicit cbf: CanBuildFrom[M[commons.Future[A]], A, M[A]], executor: commons.ExecutionContext): commons.Future[M[A]]

    Different version of Future.sequence.

    Different version of Future.sequence. Transforms a TraversableOnce[Future[A]] into a Future[TraversableOnce[A], which only completes after all in Futures are completed.

    A

    the type of the value inside the Futures

    M

    the type of the TraversableOnce of Futures

    in

    the TraversableOnce of Futures which will be sequenced

    returns

    the Future of the TraversableOnce of results

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def traverseCompleted[A, B, M[X] <: TraversableOnce[X]](in: M[A])(fn: (A) ⇒ commons.Future[B])(implicit cbf: CanBuildFrom[M[A], B, M[B]], executor: commons.ExecutionContext): commons.Future[M[B]]

    Different version of Future.traverse.

    Different version of Future.traverse. Transforms a TraversableOnce[A] into a Future[TraversableOnce[B]], which only completes after all in Futures are completed, using the provided function A => Future[B]. This is useful for performing a parallel map. For example, to apply a function to all items of a list

    A

    the type of the value inside the Futures in the TraversableOnce

    B

    the type of the value of the returned Future

    M

    the type of the TraversableOnce of Futures

    in

    the TraversableOnce of Futures which will be sequenced

    fn

    the function to apply to the TraversableOnce of Futures to produce the results

    returns

    the Future of the TraversableOnce of results

  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped