motion/reactor/periodic_timer.rb in bubble-wrap-1.8.0 vs motion/reactor/periodic_timer.rb in bubble-wrap-1.9.0
- old
+ new
@@ -14,10 +14,10 @@
options = args.last.is_a?(Hash) ? args.last : {}
if options[:common_modes]
NSLog "[DEPRECATED - Option :common_modes] a Run Loop Mode is no longer needed."
end
-
+
self.interval = interval
leeway = interval
queue = Dispatch::Queue.current
@timer = Dispatch::Source.timer(leeway, interval, 0.0, queue) do