reactify.reaction

Type members

Classlikes

case
class ChangeFunctionReaction[T](f: (T, T) => Unit, priority: Double) extends Reaction[T]
case
class FunctionReaction[T](f: T => Unit, priority: Double) extends Reaction[T]
trait Reaction[T] extends Ordered[Reaction[T]]

Reaction may be considered similar to Observer or Listener in other libraries. A Reaction may be added to a Reactive in order to react when a value is fired upon it.

Reaction may be considered similar to Observer or Listener in other libraries. A Reaction may be added to a Reactive in order to react when a value is fired upon it.

Type Params
T

the type received by this Reaction

Companion
object
object Reaction
Companion
class
Companion
object

ReactionStatus is utilized during the propagation of a fired value against a Reactive. This value may be returned by a Reaction or set via status on the Reactive (on the same thread while the fired value is propagating)

ReactionStatus is utilized during the propagation of a fired value against a Reactive. This value may be returned by a Reaction or set via status on the Reactive (on the same thread while the fired value is propagating)

Companion
class
class Reactions[T]

Reactions represents a list of Reaction instances specifically associated with a Reactive

Reactions represents a list of Reaction instances specifically associated with a Reactive