Merge pull request #140 from itay-grudev/itay-grudev-patch-1

Update README to clarify sendMessage return value
This commit is contained in:
Itay Grudev 2021-10-04 12:59:09 +03:00 committed by GitHub
commit 0d7b2630bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 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`.
--- ---