Packages

object Schedule

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

Type Members

  1. sealed case class Decision[+A, +B](cont: Boolean, delay: Duration, state: A, finish: () ⇒ B) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def apply[S, A, B](initial0: IO[Nothing, S], update0: (A, S) ⇒ IO[Nothing, Decision[S, B]]): Schedule[A, B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def collect[A]: Schedule[A, List[A]]

    A schedule that recurs forever, collecting all inputs into a list.

  8. final def delayed[A](s: Schedule[A, Duration]): Schedule[A, Duration]

    A new schedule derived from the specified schedule which adds the delay specified as output to the existing duration.

  9. final def doUntil[A](f: (A) ⇒ Boolean): Schedule[A, A]

    A schedule that recurs for until the predicate evaluates to true.

  10. final def doWhile[A](f: (A) ⇒ Boolean): Schedule[A, A]

    A schedule that recurs for as long as the predicate evaluates to true.

  11. final def duration(duration: Duration): Schedule[Any, Duration]

    A schedule that will recur until the specified duration elapses.

  12. final val elapsed: Schedule[Any, Duration]

    A schedule that recurs forever, and computes the time since the beginning.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. final def exponential(base: Duration, factor: Double = 2.0): Schedule[Any, Duration]

    A schedule that always recurs, but will wait a certain amount between repetitions, given by base * factor.pow(n), where n is the number of repetitions so far.

  16. final def fibonacci(one: Duration): Schedule[Any, Duration]

    A schedule that always recurs, increasing delays by summing the preceeding two delays (similar to the fibonacci sequence).

  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def fixed(interval: Duration): Schedule[Any, Int]

    A schedule that recurs on a fixed interval.

    A schedule that recurs on a fixed interval. Returns the amount of time since the schedule began.

    If the action takes run between updates longer than the interval, then the action will be run immediately, but re-runs will not "pile up".

    |---------interval---------|---------interval---------|
    |action|                   |action|
    

  19. final val forever: Schedule[Any, Int]

    A schedule that recurs forever, producing a count of inputs.

  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def identity[A]: Schedule[A, A]

    A schedule that recurs forever, returning each input as the output.

  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def lift[A, B](f: (A) ⇒ B): Schedule[A, B]

    A schedule that recurs forever, mapping input values through the specified function.

  25. final def logInput[A](f: (A) ⇒ IO[Nothing, Unit]): Schedule[A, A]

    A schedule that recurs forever, dumping input values to the specified sink, and returning those same values unmodified.

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final val never: Schedule[Any, Nothing]

    A schedule that never executes.

    A schedule that never executes. Note that negating this schedule does not produce a schedule that executes.

  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def once: Schedule[Any, Unit]

    A schedule that executes once.

  31. final def point[A](a: ⇒ A): Schedule[Any, A]

    A schedule that recurs forever, returning the constant for every output.

  32. final def recurs(n: Int): Schedule[Any, Int]

    A schedule that recurs the specified number of times, producing a count of inputs.

  33. final def spaced(interval: Duration): Schedule[Any, Int]

    A schedule that waits for the specified amount of time between each input.

    A schedule that waits for the specified amount of time between each input. Returns the number of inputs so far.

    |action|-----interval-----|action|-----interval-----|action|
    

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def unfold[A](a: ⇒ A)(f: (A) ⇒ A): Schedule[Any, A]

    A schedule that always recurs, and computes the output through recured application of a function to a base value.

  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  40. object Decision extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped