NullFunction

org.apache.pekko.persistence.fsm.PersistentFSM.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)

Attributes

Source
PersistentFSM.scala
Graph
Supertypes
trait PartialFunction[Any, Nothing]
trait Any => Nothing
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(o: Any): Nothing

Attributes

Source
PersistentFSM.scala
def isDefinedAt(o: Any): Boolean

Attributes

Source
PersistentFSM.scala

Inherited methods

def andThen[C](k: PartialFunction[Nothing, C]): PartialFunction[Any, C]

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Nothing => C): PartialFunction[Any, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
def applyOrElse[A1, B1](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
def compose[R](k: PartialFunction[R, Any]): PartialFunction[R, Nothing]

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Any): A => Nothing

Attributes

Inherited from:
Function1
def elementWise: ElementWiseExtractor[Any, Nothing]

Attributes

Inherited from:
PartialFunction
def lift: Any => Option[Nothing]

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction
def runWith[U](action: Nothing => U): Any => Boolean

Attributes

Inherited from:
PartialFunction
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1
def unapply(a: Any): Option[Nothing]

Attributes

Inherited from:
PartialFunction