(exc: BaseException)
| 15584 | mailbox.put(sentinel) |
| 15585 | |
| 15586 | def on_error(exc: BaseException) -> None: |
| 15587 | error_box["error"] = exc |
| 15588 | done.set() |
| 15589 | mailbox.put(sentinel) |
| 15590 | |
| 15591 | request.on_stream_chunk = on_stream_chunk |
| 15592 | request.on_done = on_done |