D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
rbs-3.8.0
/
stdlib
/
minitest
/
0
/
minitest
/
parallel
/
Filename :
executor.rbs
back
Copy
# <!-- 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