GroupMessageStorage
io.github.positionpal.message.GroupMessageStorage
case class GroupMessageStorage(system: ActorSystem[_]) extends MessageStorage[Future]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MessageStorage[Future]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Retrieve the last n messages that where persisted inside a Group
Retrieve the last n messages that where persisted inside a Group
Value parameters
- groupID
-
identifier of the group
- n
-
number of messages that should be retrieved
Attributes
- Returns
-
a F with a Seq of the last n messages of the group
- Inherited from:
- MessageStorage
Attributes
- Inherited from:
- MessageStorage
Value members
Concrete methods
override def getLastMessages(groupID: String)(n: Int): Future[Either[ErrorDescription, MessageList]]
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Givens
In this article