Packages

object Task

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Task
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class withDeadline[T](task: Task[T], deadline: Long) extends Product with Serializable

Value Members

  1. def apply[T](label: String, period: Duration, pollFor: () ⇒ Option[T], timeout: Duration = Duration.Inf): Task[T]
  2. object withDeadline extends Serializable

    We separate task from Task.withDeadline[T] so that user tasks are immutable and can be reusable.

    We separate task from Task.withDeadline[T] so that user tasks are immutable and can be reusable.

    Task.wthDeadline[T] useful to implementations, not clients or users of a Poller.