Module: Pione::Front::NotificationRecipientInterface
- Included in:
- TaskWorkerBrokerFront
- Defined in:
- lib/pione/front/notification-recipient-interface.rb
Instance Method Summary collapse
-
#notify(message) ⇒ void
Notify the notification message to the recipient.
- #set_recipient(recipient) ⇒ Object
Instance Method Details
#notify(message) ⇒ void
This method returns an undefined value.
Notify the notification message to the recipient. This method is non-blocking.
14 15 16 |
# File 'lib/pione/front/notification-recipient-interface.rb', line 14 def notify() non_blocking {@__recipient__.notify()} end |
#set_recipient(recipient) ⇒ Object
4 5 6 |
# File 'lib/pione/front/notification-recipient-interface.rb', line 4 def set_recipient(recipient) @__recipient__ = recipient end |