Hacker News new | ask | show | jobs
by wslh 3933 days ago
Sorry for the joke but how many callbacks did they need to make this transaction?
2 comments

I promise it wasn't that many.
async I saw what you did there.
I don't get it and await an explanation
This is starting to look like Reddit.
Nothing wrong with a little bit of humor, imo. It's not like a thread is full of puns.
make it then-able... like so:

doSomeAsync() .andThen(doSomeOtherAsync1) .andThen(doSomeOtherAsync2) ... .andThen(SomeOtherAsync10) .noAndThen(finalize)

Something went wrong, I'll stop here and you'll never know. Next time, try to catch it.
you forked the thread. node doesn't have threads.
Two: one to begin work, and one to commit.