Class FastFuture$

java.lang.Object
akka.http.scaladsl.util.FastFuture$

public class FastFuture$ extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FastFuture$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> scala.concurrent.Future<T>
    apply(scala.util.Try<T> value)
     
    scala.Function1<Throwable,scala.concurrent.Future<scala.runtime.Nothing$>>
     
    <T, M extends scala.collection.IterableOnce<Object>>
    scala.concurrent.Future<M>
    sequence(M in, scala.collection.BuildFrom<M,T,M> cbf, scala.concurrent.ExecutionContext executor)
     
    <T> scala.Function1<T,scala.concurrent.Future<T>>
     
    <A, B, M extends scala.collection.IterableOnce<Object>>
    scala.concurrent.Future<M>
    traverse(M in, scala.Function1<A,scala.concurrent.Future<B>> fn, scala.collection.BuildFrom<M,B,M> cbf, scala.concurrent.ExecutionContext executor)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final FastFuture$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • FastFuture$

      public FastFuture$()
  • Method Details

    • apply

      public <T> scala.concurrent.Future<T> apply(scala.util.Try<T> value)
    • successful

      public <T> scala.Function1<T,scala.concurrent.Future<T>> successful()
    • failed

      public scala.Function1<Throwable,scala.concurrent.Future<scala.runtime.Nothing$>> failed()
    • sequence

      public <T, M extends scala.collection.IterableOnce<Object>> scala.concurrent.Future<M> sequence(M in, scala.collection.BuildFrom<M,T,M> cbf, scala.concurrent.ExecutionContext executor)
    • traverse

      public <A, B, M extends scala.collection.IterableOnce<Object>> scala.concurrent.Future<M> traverse(M in, scala.Function1<A,scala.concurrent.Future<B>> fn, scala.collection.BuildFrom<M,B,M> cbf, scala.concurrent.ExecutionContext executor)