abstract class Reactions extends Reaction

Used by reactors to let clients register custom event reactions.

Linear Supertypes
PartialFunction[Event, Unit], (Event) ⇒ Unit, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reactions
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Reactions()

Abstract Value Members

  1. abstract def +=(r: Reaction): Reactions.this.type

    Add a reaction.

  2. abstract def -=(r: Reaction): Reactions.this.type

    Remove the given reaction.

  3. abstract def apply(v1: Event): Unit
    Definition Classes
    Function1
  4. abstract def isDefinedAt(x: Event): Boolean
    Definition Classes
    PartialFunction

Concrete Value Members

  1. def andThen[C](k: (Unit) ⇒ C): PartialFunction[Event, C]
    Definition Classes
    PartialFunction → Function1
  2. def applyOrElse[A1 <: Event, B1 >: Unit](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  3. def compose[A](g: (A) ⇒ Event): (A) ⇒ Unit
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def lift: (Event) ⇒ Option[Unit]
    Definition Classes
    PartialFunction
  5. def orElse[A1 <: Event, B1 >: Unit](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  6. def runWith[U](action: (Unit) ⇒ U): (Event) ⇒ Boolean
    Definition Classes
    PartialFunction
  7. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any