From 5a3717ef847517c3e1a903badd31bf12831a7171 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 22 Jul 2018 16:02:55 +0200 Subject: Expect BYE from server and return gracefully Signed-off-by: Florian Pritz --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index eb939d1..c18666e 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Same as loop(), but automatcally calls loop() again if the connection is lost. Open a connection and wait for NOTIFY notifications. When a NOTIFY notification arrives, show a notification to the user. -This method throws an exception when the connection to the server is lost. If -you want to continue waiting for new notifications, you may call this method -again. Also look at loop\_reconnect(). +This method either returns when the server closes the connection or throws an +exception when the connection to the server is lost. If you want to continue +waiting for new notifications, you may call this method again. Also look at +loop\_reconnect(). -- cgit v1.2.3-24-g4f1b