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.4.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.3.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.3.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.3.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.3.0.pre.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.3.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.2.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.2.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.2.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.2.0.pre.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.1.3 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.1.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.1.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.1.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.4 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.3 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.2 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.1 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.0 stdlib/minitest/0/minitest/parallel/executor.rbs
rbs-3.0.0.dev.3 stdlib/minitest/0/minitest/parallel/executor.rbs