Reactions

abstract class Reactions extends Reaction

Used by reactors to let clients register custom event reactions.

Used by reactors to let clients register custom event reactions.

Companion
object
trait PartialFunction[Event, Unit]
trait Event => Unit
class Object
trait Matchable
class Any
class Impl

Value members

Abstract methods

Add a reaction.

Add a reaction.

Remove the given reaction.

Remove the given reaction.

Inherited methods

def andThen[C](k: PartialFunction[Unit, C]): PartialFunction[Event, C]
Inherited from
PartialFunction
override def andThen[C](k: Unit => C): PartialFunction[Event, C]
Definition Classes
PartialFunction -> Function1
Inherited from
PartialFunction
def apply(v1: Event): Unit
Inherited from
Function1
def applyOrElse[A1 <: Event, B1 >: Unit](x: A1, default: A1 => B1): B1
Inherited from
PartialFunction
def compose[R](k: PartialFunction[R, Event]): PartialFunction[R, Unit]
Inherited from
PartialFunction
@unspecialized
def compose[A](g: A => Event): A => Unit
Inherited from
Function1
def elementWise: ElementWiseExtractor[Event, Unit]
Inherited from
PartialFunction
def isDefinedAt(x: Event): Boolean
Inherited from
PartialFunction
def lift: Event => Option[Unit]
Inherited from
PartialFunction
def orElse[A1 <: Event, B1 >: Unit](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from
PartialFunction
def runWith[U](action: Unit => U): Event => Boolean
Inherited from
PartialFunction
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from
Function1
def unapply(a: Event): Option[Unit]
Inherited from
PartialFunction