Am Mon, Jan 18, 2021 at 03:29:34PM +0100 schrieb Daniele Varrazzo:
> Anyway I appreciate that the default of terminating a program is
> probably too aggressive. So I would remove the `terminate()` function
> and base implementation and leave a `connection_failed()` handler,
> with a default no-op implementation, which people preferring their
> program to terminate can subclass (with `sys.exit(1)` or whatever
> termination strategy they find useful).
+1
Some apps may just gladly carry on buffering data locally,
and sending them to the backend next time they get a chance
to do so.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B