MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / stop

Method stop

test/utils_spec_runner.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self.cond.notify()
42
43 def stop(self):
44 self.stopped = True
45 with self.cond:
46 self.cond.notify()
47
48 def run(self):
49 while not self.stopped or self.ops:

Callers 1

runMethod · 0.95

Calls 1

notifyMethod · 0.80

Tested by

no test coverage detected