Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_operation
Method · 0.45
_testOperation_runOnThread
Method · 0.45
Calls
1
notify
Method · 0.80
Tested by
1
run_operation
Method · 0.36