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
Aliaksandr Lomau
November 24, 2017
Technology
72
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
68
"Ya Ne Lochu Comp" Challenge.
allomov
1
110
Catch and Throw in Ruby
allomov
0
69
Mortal Rubizza
allomov
0
120
Рэмбовидная проблема: особенности развития открытых технологий
allomov
0
76
Vault-tec: Safest Future
allomov
0
300
Cloud Theory for Rubizza Classes
allomov
0
110
Антология деплоя
allomov
0
97
Not For Recording: BOSH User Life Stories
allomov
0
100
Other Decks in Technology
See All in Technology
複数システムが同居した 15 年物の AWS アカウントを解体するための考古学
wa6sn
3
140
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
180
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
190
AIが会計業務の伴走者に。 マネーフォワード クラウド会計MCPサーバーで実現するAI前提の新しい業務プロセス
nobitabashi
0
120
The Author Pays
hiccupps
0
200
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
330
Kiro Web 入門 (サインインから、頼み方、PR の受け取り、クラウドの決まりまで) | 目指せ Kiro マスター 04
inariku
PRO
2
100
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
320
田んぼから始まる挑戦 〜新米農家の1年目〜
miu_crescent
PRO
0
270
ゼロから作るWebアプリの新定番!?Amplify Gen 2 × AWS Blocksで実現する「開発速度とRDBの柔軟性のいいとこ取り」
amixedcolor
1
250
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
680
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
How to make the Groovebox
asonas
2
2.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
570
Build your cross-platform service in a week with App Engine
jlugia
234
19k
RailsConf 2023
tenderlove
30
1.6k
GraphQLとの向き合い方2022年版
quramy
50
15k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k