Class

com.thoughtworks.zerocost.task

ZeroCostTaskOps

Related Doc: package task

Permalink

implicit final class ZeroCostTaskOps[A] extends AnyVal

Extension methods for Task

Source
task.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZeroCostTaskOps
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZeroCostTaskOps(underlying: Task[A])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to any2stringadd[ZeroCostTaskOps[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ZeroCostTaskOps[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to ArrowAssoc[ZeroCostTaskOps[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def blockingAwait: A

    Permalink

    Blocking waits and returns the result value of the underlying Task.

    Blocking waits and returns the result value of the underlying Task.

    Annotations
    @inline()
  8. def ensuring(cond: (ZeroCostTaskOps[A]) ⇒ Boolean, msg: ⇒ Any): ZeroCostTaskOps[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to Ensuring[ZeroCostTaskOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ZeroCostTaskOps[A]) ⇒ Boolean): ZeroCostTaskOps[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to Ensuring[ZeroCostTaskOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ZeroCostTaskOps[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to Ensuring[ZeroCostTaskOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ZeroCostTaskOps[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to Ensuring[ZeroCostTaskOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to StringFormat[ZeroCostTaskOps[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def onComplete(continue: (Try[A]) ⇒ Unit): Unit

    Permalink

    Runs the underlying Task.

    Runs the underlying Task.

    continue

    the callback function that will be called once the underlying continuation complete.

    Annotations
    @inline()
    Note

    The JVM call stack will grow if there are recursive calls to onComplete in continue. A StackOverflowError may occurs if the recursive calls are very deep.

    See also

    safeOnComplete in case of StackOverflowError.

  16. def safeOnComplete(continue: (Try[A]) ⇒ TailRec[Unit]): TailRec[Unit]

    Permalink

    Runs the underlying continuation like onComplete, except this safeOnComplete is stack-safe.

    Runs the underlying continuation like onComplete, except this safeOnComplete is stack-safe.

    Annotations
    @inline()
  17. def toFuture: Future[A]

    Permalink
    Annotations
    @inline()
  18. def toString(): String

    Permalink
    Definition Classes
    Any
  19. val underlying: Task[A]

    Permalink
  20. def [B](y: B): (ZeroCostTaskOps[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZeroCostTaskOps[A] to ArrowAssoc[ZeroCostTaskOps[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from ZeroCostTaskOps[A] to any2stringadd[ZeroCostTaskOps[A]]

Inherited by implicit conversion StringFormat from ZeroCostTaskOps[A] to StringFormat[ZeroCostTaskOps[A]]

Inherited by implicit conversion Ensuring from ZeroCostTaskOps[A] to Ensuring[ZeroCostTaskOps[A]]

Inherited by implicit conversion ArrowAssoc from ZeroCostTaskOps[A] to ArrowAssoc[ZeroCostTaskOps[A]]

Ungrouped