lock ttl
This block is part of the locking group and was last modified in core v12.0.7.
lock ttl
v12.0.7
Returns the time to live for a given lock
| Pin | Pin | Type | Default |
|---|---|---|---|
| flow |
flow |
||
keyrequiredthe lock key to be checked |
value |
| Pin | Pin | Type | Example |
|---|---|---|---|
| flow |
flow |
||
| ttl Returns the ttl in seconds. Returns -1 if the key exists but has no associated expire. Returns -2 if the key does not exist. |
number |
expiry |
expire |
Core Releases
v12.0.7 This block was introduced inv12.0.7, click here to see the release notes.
Back to
locking
Return to the main group to view all sub-groups
Back to locking
Return to the group to view all blocks within this group