From 0b8be215a5b106f9d5d24a92588a02a8a01915ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Obr=C3=A1til?= Date: Mon, 10 Nov 2014 21:01:58 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a632527..705d7f3 100644 --- a/README.md +++ b/README.md @@ -47,5 +47,5 @@ Closes the connection. `onClose` event handler is called when closing of socket | parameter | type | description | | ----------- |-----------------------------|--------------| -| `onSuccess` | `() => void` | Success callback, called after connection was successfully closed. `onClose` event handler is called after that callback. (optional)| +| `onSuccess` | `() => void` | Success callback, called after connection was successfully closed. `onClose` event handler is called before that callback. (optional)| | `onError` | `(message: string) => void` | Error callback, called when some error occurs during this procedure. (optional)|