I'm looking to see if there's a way to query for if a lock is set. I don't see anything in the documentation / module docs... I peeked over at the Ruby implementation and there seems to be a method which looks to see if the remaining ttl is nil or 0. Does that seem worthwhile?
I'm looking to see if there's a way to query for if a lock is set. I don't see anything in the documentation / module docs... I peeked over at the Ruby implementation and there seems to be a method which looks to see if the remaining
ttlisnilor0. Does that seem worthwhile?