lib/legion/extensions/actors/once.rb in legionio-0.4.2 vs lib/legion/extensions/actors/once.rb in legionio-0.4.3

- old
+ new

@@ -11,15 +11,15 @@ if respond_to? :functions functions.each do function @task = Concurrent::ScheduledTask.execute(delay) do - use_runner ? runner : manual + use_runner? ? runner : manual end end else @task = Concurrent::ScheduledTask.execute(delay) do - use_runner ? runner : manual + use_runner? ? runner : manual end end rescue StandardError => e Legion::Logging.error e end