diff --git a/components/lock.rst b/components/lock.rst index 09caa86fb96..79ef3541ed0 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -356,7 +356,7 @@ accomplished, then the lock can be released by the store and acquired by someone else. The ``Lock`` provides several methods to check its health. The ``isExpired()`` -method checks whether or not it lifetime is over and the ``getRemainingLifetime()`` +method checks whether or not its lifetime is over and the ``getRemainingLifetime()`` method returns its time to live in seconds. Using the above methods, a more robust code would be:: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy