Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
80
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Begin async/await
My slide at Facebook Masterclass workshop
Tian Permana
July 16, 2017
More Decks by Tian Permana
See All by Tian Permana
The Lazy Product
tianp
0
42
Microservices at 8villages
tianp
0
31
Serverless using Google Cloud Functions and Node.js
tianp
0
120
Other Decks in Programming
See All in Programming
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.3k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
ジョジョの世界をXRで再現する
mofurune
0
160
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
900
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
ChromeでローカルLLM
ryu1013
0
140
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
210
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1369
210k
The Language of Interfaces
destraynor
162
27k
Fireside Chat
paigeccino
43
4.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Optimizing for Happiness
mojombo
378
71k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
New Earth Scene 8
popppiees
4
2.7k
Side Projects
sachag
456
43k
Designing Experiences People Love
moore
143
24k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Leo the Paperboy
mayatellez
10
2.4k
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