NullFunction

object NullFunction extends PartialFunction[Any, Nothing]

A partial function value which does not match anything and can be used to “reset” whenUnhandled and onTermination handlers.

onTermination(FSM.NullFunction)
Source:
PersistentFSM.scala
trait PartialFunction[Any, Nothing]
trait Any => Nothing
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(o: Any): Nothing

Inherited methods

def andThen[C](k: PartialFunction[Nothing, C]): PartialFunction[Any, C]
Inherited from:
PartialFunction
override def andThen[C](k: Nothing => C): PartialFunction[Any, C]
Definition Classes
Inherited from:
PartialFunction
def applyOrElse[A1, B1](x: A1, default: A1 => B1): B1
Inherited from:
PartialFunction
def compose[R](k: PartialFunction[R, Any]): PartialFunction[R, Nothing]
Inherited from:
PartialFunction
def compose[A](g: A => Any): A => Nothing
Inherited from:
Function1
Inherited from:
PartialFunction
def lift: Any => Option[Nothing]
Inherited from:
PartialFunction
def orElse[A1, B1](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from:
PartialFunction
def runWith[U](action: Nothing => U): Any => Boolean
Inherited from:
PartialFunction
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1
def unapply(a: Any): Option[Nothing]
Inherited from:
PartialFunction