FunctionReaction

reactify.reaction.FunctionReaction
case class FunctionReaction[T](f: T => Unit, priority: Double) extends Reaction[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Reaction[T]
trait Ordered[Reaction[T]]
trait Comparable[Reaction[T]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def apply(value: T, previous: Option[T]): ReactionStatus

Invoked when a new value is received by the associated Reactive

Invoked when a new value is received by the associated Reactive

Value parameters

previous

the previous value, if one was defined

value

the new value

Attributes

Definition Classes

Inherited methods

def <(that: Reaction[T]): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Reaction[T]): Boolean

Attributes

Inherited from:
Ordered
def >(that: Reaction[T]): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Reaction[T]): Boolean

Attributes

Inherited from:
Ordered
override def compare(that: Reaction[T]): Int

Attributes

Definition Classes
Reaction -> Ordered
Inherited from:
Reaction
def compareTo(that: Reaction[T]): Int

Attributes

Inherited from:
Ordered
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product