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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
0918nobita
September 29, 2018
Programming
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RxJSで始めるリアクティブ・プログラミング と GitHub Emoji
参考文献
『Angular6 から始める RxJS6 入門』
https://qiita.com/MasanobuAkiba/items/a5026bd37603cc29e9e7
0918nobita
September 29, 2018
More Decks by 0918nobita
See All by 0918nobita
入門言語としての F#
0918nobita
0
460
入門SRTP - 型レベルプログラミングちょっとだけ入門
0918nobita
0
450
プログラミング"言語"をはじめよう
0918nobita
0
61
Firebaseを使って作るPWA (LINE Developer Meetup #43)
0918nobita
1
820
OSSとライセンスの話
0918nobita
0
120
Other Decks in Programming
See All in Programming
AIで効率化できた業務・日常
ochtum
0
130
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
110
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
100
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
720
Webフレームワークの ベンチマークについて
yusukebe
0
160
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
150
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.4k
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
3.7k
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
190
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
190
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5k
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
800
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
ラッコキーワード サービス紹介資料
rakko
1
3.6M
GitHub's CSS Performance
jonrohan
1033
470k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The browser strikes back
jonoalderson
0
1.2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
Crafting Experiences
bethany
1
180
Discover your Explorer Soul
emna__ayadi
2
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
330
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
230
Are puppies a ranking factor?
jonoalderson
1
3.5k
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 •