the WombatPhoto('wombat.jpg') message will be sent to listener1 and listener2 because they are both subscribed
to topic of type WombatPhotosTopic. listener3 will not receive this message because it's not subscribed
to topic of type WombatPhotosTopic'.
T
the type of Topic. Message will be sent to all Topics of this type.
payload
message that should be sent to Topic
Linear Supertypes
Serializable, Serializable, Product, Equals, MessageBusMessage, AnyRef, Any
The
payload
ofForAll
message will be delivered byMessageBus
to allLiftActor
s that subscribed to the givenTopic
type. For example:the
WombatPhoto('wombat.jpg')
message will be sent tolistener1
andlistener2
because they are both subscribed to topic of typeWombatPhotosTopic
.listener3
will not receive this message because it's not subscribed to topic of typeWombatPhotosTopic'.
the type of
Topic
. Message will be sent to allTopic
s of this type.message that should be sent to
Topic