aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2021-10-04 12:59:09 +0300
committerGitHub <noreply@github.com>2021-10-04 12:59:09 +0300
commit0d7b2630bda26f7dd4752c90faa9719455cab433 (patch)
tree5bb663d842897fe6d122957bed1729bfae5fbce6
parentMerge pull request #141 from itay-grudev/refactor-ci (diff)
parentUpdate README.md (diff)
downloadsingleapplication-0d7b2630bda26f7dd4752c90faa9719455cab433.tar.xz
Merge pull request #140 from itay-grudev/itay-grudev-patch-1
Update README to clarify sendMessage return value
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 457ab33..a76bada 100644
--- a/README.md
+++ b/README.md
@@ -182,7 +182,8 @@ bool SingleApplication::sendMessage( QByteArray message, int timeout = 100 )
```
Sends `message` to the Primary Instance. Uses `timeout` as a the maximum timeout
-in milliseconds for blocking functions
+in milliseconds for blocking functions. Returns `true` if the message has been sent
+successfully. If the message can't be sent or the function timeouts - returns `false`.
---