added/fixed try-unlock-result

This commit is contained in:
Teriuihi 2022-05-15 20:27:30 +02:00 committed by GitHub
parent 1165fcd392
commit 799a7ead9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
<code>check-lock</code>: Check if a data entry is locked, it will send the result back as a boolean on <code>check-lock-result</code> <code>check-lock</code>: Check if a data entry is locked, it will send the result back as a boolean on <code>check-lock-result</code>
</li> </li>
<li> <li>
<code>try-unlock</code>: Attempt to unlock a data entry it will send a boolean back on <code>try-lock-result</code> <code>try-unlock</code>: Attempt to unlock a data entry it will send a boolean back on <code>try-unlock-result</code>
If succesfull this will check if there is a queued lock for this data entry and if so lock that for that server and notify it on If succesfull this will check if there is a queued lock for this data entry and if so lock that for that server and notify it on
<code>locked-queued-lock</code> with information on what the data was <code>locked-queued-lock</code> with information on what the data was
</li> </li>
@ -29,7 +29,7 @@
<li>UTF: data (data to lock/check/unlock)</li> <li>UTF: data (data to lock/check/unlock)</li>
</ul> </ul>
</li> </li>
<li><code>try-lock-result</code>/<code>check-lock-result</code> <li><code>try-lock-result</code>/<code>try-unlock-result</code>/<code>check-lock-result</code>
<ul> <ul>
<li>UTF: sub channel (the sub channel) <li>UTF: sub channel (the sub channel)
<li>boolean: success (if the lock/unlock succeeded or not or if the data was locked or not)</li> <li>boolean: success (if the lock/unlock succeeded or not or if the data was locked or not)</li>