StateReader
endless.core.entity.StateReader
StateReader[F, S]
is the ability to read a value of type S
from a shared environment in context F
, where that value is semantically understood as the current state of the entity.
Note that this is equivalent to Ask[F, S]
in cats mtl.
Type parameters
- F
-
context
- S
-
state
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
Members list
In this article