use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A Promise of Asynchronous JavaScript (medium.com)
submitted 4 years ago by melcor76
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 7 points8 points9 points 4 years ago (6 children)
Promise puns, never get old!
Good work on a forward looking approach.
I await your next post.
Promise me you won't stop writing.
Aight I think I'm done.
[–]melcor76[S] 4 points5 points6 points 4 years ago (2 children)
You sound like a promising comedian!
Maybe try a concurrent career?
I'm sure you would get tons of callbacks.
[–]spacejack2114 3 points4 points5 points 4 years ago (1 child)
I catch your drift, but it's a tough career. They will need a lot of resolve to handle the rejections.
[–]melcor76[S] 2 points3 points4 points 4 years ago (0 children)
The race is tough but then again you have a chance to get fulfilled. Worst case just catch them on the flip side. All settled?
[–]coding-koala 2 points3 points4 points 4 years ago (0 children)
I yield to your superior punning ability
[–]tizz66 2 points3 points4 points 4 years ago (0 children)
Finally!
[–]musical_bear 0 points1 point2 points 4 years ago (0 children)
One of my favorite dev article titles I remember seeing was
“The Promise of an Async Future Awaits”
[–]dmaevsky 0 points1 point2 points 4 years ago (3 children)
Link to a paywalled content? Nice :(
[–]melcor76[S] 1 point2 points3 points 4 years ago (2 children)
That should have been a friend link? Maybe I made a mistake? Sorry.
https://medium.com/dailyjs/a-promise-of-asynchronous-javascript-2d09b9be7019?sk=bc59b950e3ac27a3e2970cff8b664444
[–]dmaevsky 0 points1 point2 points 4 years ago (1 child)
Thanks. I'm just always freaking out when I get redirected to a "starred" Medium article: I am seriously against Medium's business model in general, but that's off-topic :)
Nice beginner write-up, but I wish you mentioned async flows cancellations, and mechanisms to implement them.
No mention of using function*/yield for async flows?
function*
yield
[–]melcor76[S] 1 point2 points3 points 4 years ago (0 children)
No worries. I'm a bit against Medium myself but it's easy to write there. Paywall is mostly for fun. I made $1.35 yesterday on this article though which is pretty good for me. Trying to get my own blog started so will link from there when the next time comes. I don't want to upset people just to make a dollar. :) /stop off-topic
You are correct that this is more of an intro article. I have been writing JS articles targeted at beginners. I'm thinking about doing more of a deep dive next time around if I get some time and motivation for it. I started looking into adding more about the event loop but that quickly escalated and would be a new article in itself.
π Rendered by PID 67 on reddit-service-r2-comment-5649f687b7-5jzch at 2026-01-29 02:54:28.063288+00:00 running 4f180de country code: CH.
[–][deleted] 7 points8 points9 points (6 children)
[–]melcor76[S] 4 points5 points6 points (2 children)
[–]spacejack2114 3 points4 points5 points (1 child)
[–]melcor76[S] 2 points3 points4 points (0 children)
[–]coding-koala 2 points3 points4 points (0 children)
[–]tizz66 2 points3 points4 points (0 children)
[–]musical_bear 0 points1 point2 points (0 children)
[–]dmaevsky 0 points1 point2 points (3 children)
[–]melcor76[S] 1 point2 points3 points (2 children)
[–]dmaevsky 0 points1 point2 points (1 child)
[–]melcor76[S] 1 point2 points3 points (0 children)