The payload
of For
message will be delivered by MessageBus
to all LiftActor
s that subscribed
to the given Topic
.
The payload
of ForAll
message will be delivered by MessageBus
to all LiftActor
s that subscribed
to the given Topic
type.
PublisherActor
is the component that is responsible for sending messages to subscribed listeners.
Subscribe
is a message that should be sent to MessageBus
when LiftActor
wants to subscribe
to the given Topic
.
Topic instances can be perceived as a street advertising columns.
Unsubscribe
is a message that should be sent to MessageBus
when LiftActor
wants to unsubscribe
from the given Topic
.
MessageBus
allows to send messages between LiftActor
s even if they live in separate user sessions.