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
98
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
420
プログラミング"言語"をはじめよう
0918nobita
0
54
Firebaseを使って作るPWA (LINE Developer Meetup #43)
0918nobita
1
810
OSSとライセンスの話
0918nobita
0
110
Other Decks in Programming
See All in Programming
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
410
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
2.2k
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
850
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
460
CSC509 Lecture 06
javiergs
PRO
0
260
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
230
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
120
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
200
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
チームの境界をブチ抜いていけ
tokai235
0
180
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
160
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
We Have a Design System, Now What?
morganepeng
53
7.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
What's in a price? How to price your products and services
michaelherold
246
12k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
How to train your dragon (web standard)
notwaldorf
97
6.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Building Adaptive Systems
keathley
44
2.8k
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 •