Module: Punchblock::DeadActorSafety

Defined in:
lib/punchblock/dead_actor_safety.rb

Instance Method Summary collapse

Instance Method Details

#safe_from_dead_actorsObject


3
4
5
6
# File 'lib/punchblock/dead_actor_safety.rb', line 3

def safe_from_dead_actors
  yield
rescue Celluloid::DeadActorError
end