(queue)
| 90 | |
| 91 | print("Example 3") |
| 92 | def produce_emails(queue): |
| 93 | while True: |
| 94 | try: |
| 95 | email = try_receive_email() |
| 96 | except NoEmailError: |
| 97 | return |
| 98 | else: |
| 99 | queue.append(email) # Producer |
| 100 | |
| 101 | |
| 102 | print("Example 4") |
no test coverage detected