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
In pins 1 + flow
- flow
flow - key required
valuethe lock key to be checked
Out pins 1 + flow
- flow
flow - ttl
numberReturns the ttl in seconds. Returns
-1if the key exists but has no associated expire. Returns-2if the key does not exist.
expiry |
expire |
A typical wiring for lock ttl: a function trigger starts the flow; value feeds the key pin; the flow out pin feeds debug.

Version history
Introduced in v12.0.7.
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
