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

Method schedule

test/asynchronous/utils_spec_runner.py:38–41  ·  view source on GitHub ↗
(self, work)

Source from the content-addressed store, hash-verified

36 self.ops = []
37
38 async def schedule(self, work):
39 self.ops.append(work)
40 async with self.cond:
41 self.cond.notify()
42
43 async def stop(self):
44 self.stopped = True

Callers 2

run_operationMethod · 0.45

Calls 1

notifyMethod · 0.80

Tested by 1

run_operationMethod · 0.36