Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ consumer
Method
consumer
tornado/test/queues_test.py:414–417 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
412
# items.
413
@gen.coroutine
414
def
consumer():
415
while
True:
416
history.append((
yield
q.get()))
417
q.task_done()
418
419
@gen.coroutine
420
def
producer():
Callers
nothing calls this directly
Calls
3
append
Method · 0.80
task_done
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected