c

zio

CancelableFuture

abstract class CancelableFuture[+A] extends Future[A] with FutureTransformCompat[A]

Linear Supertypes
FutureTransformCompat[A], Future[A], Awaitable[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CancelableFuture
  2. FutureTransformCompat
  3. Future
  4. Awaitable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CancelableFuture(future: Future[A])

Abstract Value Members

  1. abstract def cancel(): Future[Exit[Throwable, A]]

    Immediately cancels the operation and returns a scala.concurrent.Future containing the result

Concrete 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. def andThen[U](pf: PartialFunction[Try[A], U])(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def collect[S](pf: PartialFunction[A, S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def failed: Future[Throwable]
    Definition Classes
    Future
  11. def fallbackTo[U >: A](that: Future[U]): Future[U]
    Definition Classes
    Future
  12. def filter(p: (A) ⇒ Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  13. def flatMap[S](f: (A) ⇒ Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  14. def flatten[S](implicit ev: <:<[A, Future[S]]): Future[S]
    Definition Classes
    Future
  15. def foreach[U](f: (A) ⇒ U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
  16. val future: Future[A]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isCompleted: Boolean
    Definition Classes
    CancelableFuture → Future
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def map[S](f: (A) ⇒ S)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  22. def mapTo[S](implicit tag: ClassTag[S]): Future[S]
    Definition Classes
    Future
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def onComplete[U](f: (Try[A]) ⇒ U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    CancelableFuture → Future
  27. final def ready(atMost: scala.concurrent.duration.Duration)(implicit permit: CanAwait): CancelableFuture.this.type
    Definition Classes
    CancelableFuture → Awaitable
  28. def recover[U >: A](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  29. def recoverWith[U >: A](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  30. final def result(atMost: scala.concurrent.duration.Duration)(implicit permit: CanAwait): A
    Definition Classes
    CancelableFuture → Awaitable
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def transform[S](f: (Try[A]) ⇒ Try[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    FutureTransformCompat
  34. def transform[S](s: (A) ⇒ S, f: (Throwable) ⇒ Throwable)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  35. def transformWith[S](f: (Try[A]) ⇒ Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    FutureTransformCompat
  36. final def value: Option[Try[A]]
    Definition Classes
    CancelableFuture → Future
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def withFilter(p: (A) ⇒ Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  41. def zip[U](that: Future[U]): Future[(A, U)]
    Definition Classes
    Future
  42. def zipWith[U, R](that: Future[U])(f: (A, U) ⇒ R)(implicit executor: ExecutionContext): Future[R]
    Definition Classes
    Future

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def onFailure[U](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use onComplete or failed.foreach instead (keep in mind that they take total rather than partial functions)

  3. def onSuccess[U](pf: PartialFunction[A, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use foreach or onComplete instead (keep in mind that they take total rather than partial functions)

Inherited from FutureTransformCompat[A]

Inherited from Future[A]

Inherited from Awaitable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped