lib/async/idler.rb in async-2.19.0 vs lib/async/idler.rb in async-2.20.0
- old
+ new
@@ -5,10 +5,11 @@
module Async
# A load balancing mechanism that can be used process work when the system is idle.
class Idler
# Create a new idler.
- # @public Since `stable-v2`.
+ #
+ # @public Since *Async v2*.
#
# @parameter maximum_load [Numeric] The maximum load before we start shedding work.
# @parameter backoff [Numeric] The initial backoff time, used for delaying work.
# @parameter parent [Interface(:async) | Nil] The parent task to use for async operations.
def initialize(maximum_load = 0.8, backoff: 0.01, parent: nil)