Class: Mutant::Actor::Receiver
- Inherits:
-
Object
- Object
- Mutant::Actor::Receiver
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/actor/receiver.rb
Overview
Receiver side of an actor
Instance Method Summary collapse
-
#call ⇒ Object
private
Receives a message, blocking.
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Receives a message, blocking
13 14 15 16 17 18 19 |
# File 'lib/mutant/actor/receiver.rb', line 13 def call 2.times do = try_blocking_receive return unless .equal?(Undefined) end fail ProtocolError end |