lib/aggro/concurrent_actor.rb in aggro-0.0.3 vs lib/aggro/concurrent_actor.rb in aggro-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
module Aggro
# Private: Wraps a given target in an concurrent actor.
- class ConcurrentActor < Concurrent::Actor::Context
+ class ConcurrentActor < Concurrent::Actor::RestartingContext
def initialize(target)
@target = target
end
def on_message(message)