MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / printer

Function printer

Solutions/8_6/cofollow.py:34–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32# Sample coroutine
33@consumer
34def printer():
35 while True:
36 item = yield from receive(object)
37 print(item)
38
39# Example use.
40if __name__ == '__main__':

Callers 1

cofollow.pyFile · 0.70

Calls 1

receiveFunction · 0.85

Tested by

no test coverage detected