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

Method stop

test/asynchronous/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 async def stop(self):
44 self.stopped = True
45 async with self.cond:
46 self.cond.notify()
47
48 async def run(self):
49 while not self.stopped or self.ops:

Callers 11

runMethod · 0.95
tearDownClassMethod · 0.45
tearDownClassMethod · 0.45
tearDownClassMethod · 0.45
tearDownClassMethod · 0.45
tearDownClassMethod · 0.45
tearDownClassMethod · 0.45
asyncTearDownMethod · 0.45
wait_for_threadMethod · 0.45
cleanupMethod · 0.45

Calls 1

notifyMethod · 0.80

Tested by 9

tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
asyncTearDownMethod · 0.36
wait_for_threadMethod · 0.36
cleanupMethod · 0.36