Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Async code for Yeoman
DigitMagazine
Aug 21st, 2017
231
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
asyncFunction(){
let done = this.async();
someOldFunction((err, result) => {
if(err){
throw err;
}
done(result);
});
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 57 sec ago | 0.56 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 2 min ago | 0.39 KB
madoka font
CSS | 2 min ago | 0.21 KB
session
Lua | 49 min ago | 0.06 KB
Untitled
C++ | 1 hour ago | 0.32 KB
Untitled
FreeBasic | 2 hours ago | 0.73 KB
BWR - Changelog 19/04/24
Diff | 4 hours ago | 2.58 KB
СПРИНТ № 7 | Модель памяти в C++ | Урок 8: Ко...
C++ | 4 hours ago | 7.16 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!