(expiration, now=None)
| 80 | |
| 81 | |
| 82 | def _timeout(expiration, now=None): |
| 83 | if expiration is not None: |
| 84 | if not now: |
| 85 | now = time.time() |
| 86 | return max(expiration - now, 0) |
| 87 | else: |
| 88 | return None |
| 89 | |
| 90 | |
| 91 | async def send_udp( |
no test coverage detected
searching dependent graphs…