Sha256: 2ee134248a4819f575248d203dd5d1b7d3258d7bd18485a7022a834232fbe0d6

Contents?: true

Size: 1013 Bytes

Versions: 9

Compression:

Stored size: 1013 Bytes

Contents

# <!-- rdoc-file=lib/minitest/parallel.rb -->
# The engine used to run multiple tests in parallel.
#
class Minitest::Parallel::Executor
  @size: untyped
  @queue: untyped
  @pool: untyped

  # <!--
  #   rdoc-file=lib/minitest/parallel.rb
  #   - new(size)
  # -->
  # Create a parallel test executor of with `size` workers.
  #
  def initialize: (untyped size) -> void

  # <!--
  #   rdoc-file=lib/minitest/parallel.rb
  #   - start()
  # -->
  # Start the executor
  #
  def start: () -> untyped

  # <!--
  #   rdoc-file=lib/minitest/parallel.rb
  #   - <<(work;)
  # -->
  # Add a job to the queue
  #
  def <<: (untyped work) -> untyped

  # <!--
  #   rdoc-file=lib/minitest/parallel.rb
  #   - shutdown()
  # -->
  # Shuts down the pool of workers by signalling them to quit and waiting for them
  # all to finish what they're currently working on.
  #
  def shutdown: () -> untyped

  # <!-- rdoc-file=lib/minitest/parallel.rb -->
  # The size of the pool of workers.
  #
  attr_reader size: untyped
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rbs-3.9.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.9.0.pre.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.9.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.9.0.dev.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-relaxed-3.9.0.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.8.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.8.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.8.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.7.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs