lib/async/scheduler.rb in async-2.10.2 vs lib/async/scheduler.rb in async-2.11.0

- old
+ new

@@ -367,11 +367,11 @@ retry end return initial_task ensure - Console.logger.debug(self) {"Exiting run-loop because #{$! ? $! : 'finished'}."} + Console.debug(self) {"Exiting run-loop because #{$! ? $! : 'finished'}."} end # Start an asynchronous task within the specified reactor. The task will be # executed until the first blocking call, at which point it will yield and # and this method will return. @@ -393,10 +393,10 @@ # - Fail at the point of the method call where possible. # - Execute determinstically where possible. # - Avoid scheduler overhead if no blocking operation is performed. task.run(*arguments) - # Console.logger.debug "Initial execution of task #{fiber} complete (#{result} -> #{fiber.alive?})..." + # Console.debug "Initial execution of task #{fiber} complete (#{result} -> #{fiber.alive?})..." return task end def fiber(...) return async(...).fiber