class State[S, D] extends Product with Serializable
- Alphabetic
- By Inheritance
- State
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- def canEqual(that: Any): Boolean
- Definition Classes
- State → Equals
- def copy(stateName: S = stateName, stateData: D = stateData, timeout: Option[FiniteDuration] = timeout, stopReason: Option[Reason] = stopReason, replies: List[Any] = replies): State[S, D]
- def equals(that: Any): Boolean
- Definition Classes
- State → Equals → AnyRef → Any
- def forMax(timeout: Duration): State[S, D]
JAVA API: Modify state transition descriptor to include a state timeout for the next state.
JAVA API: Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Use Duration.Inf to deactivate an existing timeout.
- def forMax(timeout: Duration): State[S, D]
Modify state transition descriptor to include a state timeout for the next state.
Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Use Duration.Inf to deactivate an existing timeout.
- def productArity: Int
- Definition Classes
- State → Product
- def productElement(n: Int): Any
- Definition Classes
- State → Product
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- State → Product
- val replies: List[Any]
- def replying(replyValue: Any): State[S, D]
Send reply to sender of the current message, if available.
Send reply to sender of the current message, if available.
- returns
this state transition descriptor
- val stateData: D
- val stateName: S
- val stopReason: Option[Reason]
- val timeout: Option[FiniteDuration]
- def using(nextStateData: D): State[S, D]
Modify state transition descriptor with new state data.
Modify state transition descriptor with new state data. The data will be set when transitioning to the new state.
- Annotations
- @nowarn()