implicit final class DeprecatedExtensions[A] extends AnyVal
- Alphabetic
- By Inheritance
- DeprecatedExtensions
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: Task[A]
-
def
toString(): String
- Definition Classes
- Any
Deprecated Value Members
-
def
delayExecutionWith(trigger: Task[Any]): Task[A]
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
-
def
delayResultBySelector[B](selector: (A) ⇒ Task[B]): Task[A]
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
andmap
, 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
-
def
executeWithFork: Task[A]
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