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
RxJSで始めるリアクティブ・プログラミング と GitHub Emoji
Search
0918nobita
September 29, 2018
Programming
1
100
RxJSで始めるリアクティブ・プログラミング と GitHub Emoji
参考文献
『Angular6 から始める RxJS6 入門』
https://qiita.com/MasanobuAkiba/items/a5026bd37603cc29e9e7
0918nobita
September 29, 2018
Tweet
Share
More Decks by 0918nobita
See All by 0918nobita
入門言語としての F#
0918nobita
0
460
入門SRTP - 型レベルプログラミングちょっとだけ入門
0918nobita
0
430
プログラミング"言語"をはじめよう
0918nobita
0
55
Firebaseを使って作るPWA (LINE Developer Meetup #43)
0918nobita
1
810
OSSとライセンスの話
0918nobita
0
120
Other Decks in Programming
See All in Programming
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
組織で育むオブザーバビリティ
ryota_hnk
0
180
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
210
AI巻き込み型コードレビューのススメ
nealle
2
1.3k
dchart: charts from deck markup
ajstarks
3
1k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.7k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
CSC307 Lecture 07
javiergs
PRO
1
560
AgentCoreとHuman in the Loop
har1101
5
250
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
Featured
See All Featured
It's Worth the Effort
3n
188
29k
First, design no harm
axbom
PRO
2
1.1k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Mind Mapping
helmedeiros
PRO
0
90
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Transcript
3Y+4Ͱ࢝ΊΔ ϦΞΫςΟϒɾϓϩάϥϛϯά ͱ (JU)VC&NPKJ ใཧֶ෦ ճੜ দຊ େ
• • • • •
• A • A / A • A
• A A • A A , P
• •
( • ( ()
from P : from([1, 2, 3, 4])
.subscribe(x => console.log(x)); // 1, 2, 3, 4 subscribe S P : I P Subscription P :P O
fromEvent(window, ‘online’) .subscribe(x => console.log(x)); // ↑ ↓ : window.addEventListener(‘online’,
event => { console.log(event); });
( ) 2 ok function listener() { // O setTimeout(()
=> { // 2 : console.log(‘ok’); }, 2000) } // window.addEventListener(‘online’, listener); window.addEventListener(‘offline’, listener); S S
: 2 ok merge( fromEvent(window, ‘online’), fromEvent(window, ‘offline’)) .pipe(timeout(2000)) .subscribe(()
=> console.log(‘ok’));
: 2 ok merge( /* 2 Observable */ fromEvent(window, ‘online’),
fromEvent(window, ‘offline’)) .pipe(timeout(2000)) /* 2 */ .subscribe(() => console.log(‘ok’)); O O
None
! " #
.. . / .
• G H E • E H •