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
Promises and Reality
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Aliaksandr Lomau
November 24, 2017
Technology
73
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Promises and Reality
Rubizza Hangouts, Minsk, November 2017
Aliaksandr Lomau
November 24, 2017
Transcript
22 slides
Promises and reality
Обещания в JavaSctipt
Кстати, на фоне - диаграмма последовательности вполнения кода в node.js
None
Node.js basics ✦ single-threaded ✦ event loop ✦ asynchronous code
✦ callbacks are everywhere
None
setInterval(function() { console.log("hi"); }, 1000)
setInterval(function() { console.log("hi"); while(true) {} }, 1000)
Callbacks?
None
None
None
None
None
None
None
None
None
None
None
None
Thank you
More Decks by Aliaksandr Lomau
See All by Aliaksandr Lomau
Fails Night
allomov
0
69
"Ya Ne Lochu Comp" Challenge.
allomov
1
110
Catch and Throw in Ruby
allomov
0
71
Mortal Rubizza
allomov
0
120
Рэмбовидная проблема: особенности развития открытых технологий
allomov
0
77
Vault-tec: Safest Future
allomov
0
310
Cloud Theory for Rubizza Classes
allomov
0
110
Антология деплоя
allomov
0
98
Not For Recording: BOSH User Life Stories
allomov
0
100
Other Decks in Technology
See All in Technology
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
3
840
うちなーぐちが認識できるなら、秋田弁もいけるはず!? Amazon Transcribe方言チューニング検証
ryouto715
1
180
AWS Quick 入門 | 目指せ Quick マスター 01
inariku
PRO
2
350
ラクスル会社紹介資料|エンジニア向け / RAKSUL Introduction for Engineers
raksulrecruiting
0
110
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
0
180
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
220
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
2
440
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
150
変更差分を読むために環境を整備しよう
pipepasta
1
310
AIが会計業務の伴走者に。 マネーフォワード クラウド会計MCPサーバーで実現するAI前提の新しい業務プロセス
nobitabashi
0
150
ぼくのClaude Codeの使い方
falken
PRO
5
7.1k
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
2
150
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
6.2k
GraphQLとの向き合い方2022年版
quramy
50
15k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
WCS-LA-2024
lcolladotor
0
1k
Making Projects Easy
brettharned
120
6.9k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k