Class

monix.eval.Task

DeprecatedExtensions

Related Doc: package Task

Permalink

implicit final class DeprecatedExtensions[A] extends AnyVal

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

Instance Constructors

  1. new DeprecatedExtensions(self: Task[A])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

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

    Permalink
    Definition Classes
    Any
  7. val self: Task[A]

    Permalink
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def delayExecutionWith(trigger: Task[Any]): Task[A]

    Permalink

    DEPRECATED - please use flatMap.

    DEPRECATED - please use flatMap.

    The reason for the deprecation is that this operation is redundant, as it can be expressed with flatMap, with the same effect:

    trigger.flatMap(_ => task)

    The syntax provided by Cats can also help:

    import cats.syntax.all._
    
    trigger *> task
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Please use flatMap

  2. def delayResultBySelector[B](selector: (A) ⇒ Task[B]): Task[A]

    Permalink

    DEPRECATED - please use flatMap.

    DEPRECATED - please use flatMap.

    The reason for the deprecation is that this operation is redundant, as it can be expressed with flatMap and map, with the same effect:

    task.flatMap(a => selector(a).map(_ => a))
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Please rewrite in terms of flatMap

  3. def executeWithFork: Task[A]

    Permalink

    DEPRECATED - renamed to executeAsync.

    DEPRECATED - renamed to executeAsync.

    The reason for the deprecation is the repurposing of the word "fork".

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Renamed to Task!.executeAsync

Inherited from AnyVal

Inherited from Any

Ungrouped