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
100
1
Share
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
440
プログラミング"言語"をはじめよう
0918nobita
0
57
Firebaseを使って作るPWA (LINE Developer Meetup #43)
0918nobita
1
820
OSSとライセンスの話
0918nobita
0
120
Other Decks in Programming
See All in Programming
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
510
AI活用のコスパを最大化する方法
ochtum
0
370
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
800
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
110
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
200
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
130
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
140
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
PHPで TLSのプロトコルを実装してみる
higaki_program
0
730
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.5k
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
Faster Mobile Websites
deanohume
310
31k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Paper Plane (Part 1)
katiecoart
PRO
0
6.3k
Exploring anti-patterns in Rails
aemeredith
3
300
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
960
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.6k
Unsuck your backbone
ammeep
672
58k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
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 •