Class: Concurrent::Actor::DefaultDeadLetterHandler
- Inherits:
-
RestartingContext
- Object
- AbstractContext
- RestartingContext
- Concurrent::Actor::DefaultDeadLetterHandler
- Defined in:
- lib/concurrent/actor/default_dead_letter_handler.rb
Instance Attribute Summary
Attributes inherited from AbstractContext
Instance Method Summary collapse
Methods inherited from RestartingContext
Methods inherited from AbstractContext
#ask, #behaviour_definition, #dead_letter_routing, #default_executor, #default_reference_class, #envelope, #on_envelope, #on_event, #pass, spawn, spawn!, #tell
Methods included from InternalDelegations
#behaviour, #behaviour!, #children, #context, #dead_letter_routing, #log, #redirect, #terminate!, #terminated?
Methods included from PublicDelegations
#context_class, #executor, #name, #parent, #path, #reference
Methods included from TypeCheck
#Child!, #Child?, #Match!, #Match?, #Type!, #Type?
Instance Method Details
#on_message(dead_letter) ⇒ Object
4 5 6 |
# File 'lib/concurrent/actor/default_dead_letter_handler.rb', line 4 def (dead_letter) log(INFO) { "got dead letter #{dead_letter.inspect}"} end |