Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyIME/PIME
/ consumer
Method
consumer
python/python3/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
task_done
Method · 0.80
append
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected