Class: Concurrent::Actor::Behaviour::RemovesChild
- Defined in:
- lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb
Overview
Removes terminated children.
Instance Method Summary collapse
Constructor Details
This class inherits a constructor from Concurrent::Actor::Behaviour::Abstract
Instance Method Details
#on_envelope(envelope) ⇒ undocumented
8 9 10 11 12 13 14 |
# File 'lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb', line 8 def on_envelope(envelope) if envelope. == :remove_child core.remove_child envelope.sender else pass envelope end end |