benchmarks/receiver.rb in dcell-0.13.0.pre vs benchmarks/receiver.rb in dcell-0.13.0
- old
+ new
@@ -14,10 +14,10 @@
@count = 0
end
def increment
@count += 1
- @actor.complete! if @count == @n
+ @actor.async.complete if @count == @n
@count
end
end
class Progenator