Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Begin async/await
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tian Permana
July 16, 2017
Programming
0
71
Begin async/await
My slide at Facebook Masterclass workshop
Tian Permana
July 16, 2017
Tweet
Share
More Decks by Tian Permana
See All by Tian Permana
The Lazy Product
tianp
0
36
Microservices at 8villages
tianp
0
20
Serverless using Google Cloud Functions and Node.js
tianp
0
110
Other Decks in Programming
See All in Programming
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
Grafana:建立系統全知視角的捷徑
blueswen
0
330
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
350
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
Oxlintはいいぞ
yug1224
5
1.3k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Site-Speed That Sticks
csswizardry
13
1.1k
4 Signs Your Business is Dying
shpigford
187
22k
Building Adaptive Systems
keathley
44
2.9k
Un-Boring Meetings
codingconduct
0
200
Six Lessons from altMBA
skipperchong
29
4.1k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Transcript
//tian is here
async/await The Game Changer
2012 Witnessed how JavaScript and Node.js evolve
None
None
None
None
Slightly more complicated flow…
None
None
None
Build parallel flow..
None
try catch Error handling using good ol’
None
V7.6.0 Minimum Node.js version to support async/await
Use nvm, so you can do: nvm install v8 It’s
super easy and allow you to have multiple version of Node.js, Try it!
Adopt immediately and never look back
Reference https://blog.readme.io/using-async-await-in-node-js-7-6-0/ https://github.com/nodejs/node/blob/master/doc/changelogs/ CHANGELOG_V7.md#2017-02-21-version-760-current-italoacasas https://hackernoon.com/6-reasons-why-javascripts-async-await-blows-promises-away-tutorial-c7ec10518dd9 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
Read this slide online: https://speakerdeck.com/tianpermana/await