Sha256: fd059b1b63e0a9d4283a5c26e0a2a884af40f49c7b80637e9a537a98ba4e0e1d

Contents?: true

Size: 960 Bytes

Versions: 55

Compression:

Stored size: 960 Bytes

Contents

# <!-- rdoc-file=lib/minitest/parallel.rb -->
# The engine used to run multiple tests in parallel.
#
class Minitest::Parallel::Executor
  # <!--
  #   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

55 entries across 55 versions & 3 rubygems

Version Path
rbs-3.7.0.dev.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.0.pre.3 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.0.pre.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.6.0.dev.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.3 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.1.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.0.pre.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.5.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.4.4 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.4.3 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.4.2 stdlib/minitest/0/minitest/parallel/executor.rbs
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.4.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.4.0 stdlib/minitest/0/minitest/parallel/executor.rbs