Class: Proletariat::Actor
- Inherits:
-
Concurrent::Actor::RestartingContext
- Object
- Concurrent::Actor::RestartingContext
- Proletariat::Actor
- Includes:
- ActorCommon
- Defined in:
- lib/proletariat/concurrency/actor.rb
Overview
Public: Interface abstraction for Concurrent::Actor.
Direct Known Subclasses
ExceptionHandler, Subscriber, Testing::ExpectationGuarantor::MessageCounter
Instance Method Summary collapse
Methods included from ActorCommon
Instance Method Details
#on_message(message) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/proletariat/concurrency/actor.rb', line 8 def () if respond_to?(:work_method) send work_method, else work end end |