Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ f
Method
f
tornado/test/queues_test.py:166–171 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
164
q.put(i)
165
166
async
def
f():
167
results = []
168
async
for
i in q:
169
results.append(i)
170
if
i == 4:
171
return
results
172
173
results =
yield
f()
174
self.assertEqual(results, list(range(5)))
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected