MCPcopy Index your code
hub / github.com/nodejs/node / add

Method add

deps/v8/tools/testrunner/local/pool.py:307–313  ·  view source on GitHub ↗

Adds an item to the work queue. Can be called dynamically while processing the results from imap_unordered.

(self, args)

Source from the content-addressed store, hash-verified

305 pass
306
307 def add(self, args):
308 """Adds an item to the work queue. Can be called dynamically while
309 processing the results from imap_unordered."""
310 assert not self.terminated
311
312 self.work_queue.put(args)
313 self.processing_count += 1
314
315 def abort(self):
316 """Schedules abort on next queue read.

Callers 2

testAddMethod · 0.95
add_jobsMethod · 0.95

Calls 1

putMethod · 0.65

Tested by 1

testAddMethod · 0.76