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
Tian Permana
July 16, 2017
Programming
0
70
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
34
Microservices at 8villages
tianp
0
18
Serverless using Google Cloud Functions and Node.js
tianp
0
110
Other Decks in Programming
See All in Programming
Porting a visionOS App to Android XR
akkeylab
0
660
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
430
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
6
740
AIともっと楽するE2Eテスト
myohei
8
2.9k
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
250
Quand Symfony, ApiPlatform, OpenAI et LangChain s'allient pour exploiter vos PDF : de la théorie à la production…
ahmedbhs123
0
210
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.2k
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
1.1k
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
200
PipeCDのプラグイン化で目指すところ
warashi
1
290
GPUを計算資源として使おう!
primenumber
1
210
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
920
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
4 Signs Your Business is Dying
shpigford
184
22k
Side Projects
sachag
455
42k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Music & Morning Musume
bryan
46
6.7k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Navigating Team Friction
lara
187
15k
Facilitating Awesome Meetings
lara
54
6.5k
How GitHub (no longer) Works
holman
314
140k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Thoughts on Productivity
jonyablonski
69
4.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
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