From 57520beea7ef83311be10be8acab4b34d2e10bf5 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 17:37:11 +0200 Subject: Improve on_abort handler --- docs/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 56e0756..fc8c003 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -815,7 +815,8 @@ will return a handle corresponding to the open connection. If, in addition, `asy the thread will attempt to reconnect to the streaming API if any errors are encountered, waiting `async_reconnect_wait_sec` seconds between reconnection attempts. Note that no effort is made to "catch up" - events created while the connection is broken will not be received. If you need to make -sure to get absolutely all notifications / deletes / toots, you will have to do that manually. +sure to get absolutely all notifications / deletes / toots, you will have to do that manually, e.g. +using the `on_abort` handler to fill in events since the last received one and then reconnecting. The connection may be closed at any time by calling the handles close() method. The current status of the handler thread can be checked with the handles is_alive() function, -- cgit v1.2.3