Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit 4a8d6f7

Browse files
committed
Adding an ending
1 parent 52f106f commit 4a8d6f7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/content/en/fundamentals/getting-started/primers/async-functions.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ replaced with a trusty, boring, while-loop. Much better. In future, we'll get
189189
[async iterators](https://github.com/tc39/proposal-async-iteration){:
190190
.external}, which would [replace the above `while`
191191
loop](https://gist.github.com/jakearchibald/0b37865637daf884943cf88c2cba1376){:
192-
.external}.
192+
.external}, making it even neater.
193193

194194
Note: I'm sort-of in love with streams. If you're unfamiliar with streaming,
195195
[check out my
@@ -308,4 +308,10 @@ allowing you to use async functions all the way down to IE8. To do this you need
308308
preset](http://babeljs.io/docs/plugins/preset-es2015/){: .external}.
309309

310310
The [output is not as pretty](https://goo.gl/jlXboV), so watch out for
311-
code-bloat.
311+
code-bloat.
312+
313+
## Async all the things!
314+
315+
Once async functions land across all browsers, use them on every promise-returning function! Not only do they make your code tider, but it makes sure that function will *always* return a promise.
316+
317+
I got really excited about async functions [back in 2014](https://jakearchibald.com/2014/es7-async-functions/){: .external}, and it's great to see them land, for real, in browsers. Whoop!

0 commit comments

Comments
 (0)