We found 5 matches for: locking

An overview of all locking blocks currently available, updated daily!

locking: lock or wait

Sets a lock or waits until the lock has been released.

In-pins

flow
key
expiry (sec.)

Out-pins

flow
locking: free lock

In-pins

flow
key

Out-pins

flow
locking: claim lock

Tries to claim a lock and returns if it was successful or not

In-pins

flow
key
expiry (sec.)
Expiry in seconds to claim this lock.

Default:
60

Out-pins

flow
success
error
locking: lock ttl

Returns the time to live for a given lock

In-pins

flow
key
the lock key to be checked

Out-pins

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.
locking: lock exists

Checks if a lock already exists

In-pins

flow
key
the lock key to be checked

Out-pins

flow
exists