final case class Task[+T](value: (ExecutionContext) ⇒ Future[T]) extends AnyVal with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Task
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Task(value: (ExecutionContext) ⇒ Future[T])
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 attempt: Task[Either[Throwable, T]]
- def flatMap[U](f: (T) ⇒ Task[U]): Task[U]
- def future()(implicit ec: ExecutionContext): Future[T]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def handle[U >: T](f: PartialFunction[Throwable, U]): Task[U]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[U](f: (T) ⇒ U): Task[U]
- def schedule(duration: Duration, es: ScheduledExecutorService): Task[T]
- val value: (ExecutionContext) ⇒ Future[T]