Class

sttp.monad

FutureMonad

Related Doc: package monad

Permalink

class FutureMonad extends MonadAsyncError[Future]

Linear Supertypes
MonadAsyncError[Future], MonadError[Future], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureMonad
  2. MonadAsyncError
  3. MonadError
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FutureMonad()(implicit ec: ExecutionContext)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def async[T](register: ((Either[Throwable, T]) ⇒ Unit) ⇒ Canceler): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadAsyncError
  6. def blocking[T](t: ⇒ T): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. def ensure[T](f: Future[T], e: ⇒ Future[Unit]): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error[T](t: Throwable): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  12. def eval[T](t: ⇒ T): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  13. def flatMap[T, T2](fa: Future[T])(f: (T) ⇒ Future[T2]): Future[T2]

    Permalink
    Definition Classes
    FutureMonadMonadError
  14. def flatTap[T, U](fa: Future[T])(f: (T) ⇒ Future[U]): Future[T]

    Permalink
    Definition Classes
    MonadError
  15. def flatten[T](ffa: Future[Future[T]]): Future[T]

    Permalink
    Definition Classes
    MonadError
  16. def fromTry[T](t: Try[T]): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def handleError[T](rt: ⇒ Future[T])(h: PartialFunction[Throwable, Future[T]]): Future[T]

    Permalink
    Definition Classes
    MonadError
  19. def handleWrappedError[T](rt: Future[T])(h: PartialFunction[Throwable, Future[T]]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    FutureMonadMonadError
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def map[T, T2](fa: Future[T])(f: (T) ⇒ T2): Future[T2]

    Permalink
    Definition Classes
    FutureMonadMonadError
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def suspend[T](t: ⇒ Future[T]): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def unit[T](t: T): Future[T]

    Permalink
    Definition Classes
    FutureMonadMonadError
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from MonadAsyncError[Future]

Inherited from MonadError[Future]

Inherited from AnyRef

Inherited from Any

Ungrouped