Inherited from Serializable
Inherited from Keyword[Partial[Message], Message]
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Partial[Message] to any2stringadd[Partial[Message]]
Inherited by implicit conversion StringFormat from
Partial[Message] to StringFormat[Partial[Message]]
Inherited by implicit conversion Ensuring from
Partial[Message] to Ensuring[Partial[Message]]
Inherited by implicit conversion ArrowAssoc from
Partial[Message] to ArrowAssoc[Partial[Message]]
A keyword to receive next message of specific type in an Akka actor.
Author:
杨博 (Yang Bo)
This ReceiveMessage.Partial keyword can be used in the akka.actor.Actor.Receive domain, to receive the next message that is a Message. The above code creates an actor to echo any string messages.
All messages that are not the class of Message will not be handled.
domains.akka.actor.typed.typedReceiveMessagePartialDsl for usage in the typed actor domains.