Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 20th, 2018
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
lock(client, "myLock", false, function(locked,done) {
if(locked) {
setTimeout(done, 1000);
} else {
console.log('Somebody is already doing the job, I give up')
}
});
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Apache Log | 25 min ago | 2.32 KB
Untitled
C++ | 27 min ago | 1.23 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 35 min ago | 0.39 KB
Untitled
YAML | 35 min ago | 2.25 KB
Untitled
C++ | 43 min ago | 0.92 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 44 min ago | 0.38 KB
Mad
PHP | 1 hour ago | 0.04 KB
Untitled
Python | 1 hour ago | 3.04 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!