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
97
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
450
入門SRTP - 型レベルプログラミングちょっとだけ入門
0918nobita
0
400
プログラミング"言語"をはじめよう
0918nobita
0
52
Firebaseを使って作るPWA (LINE Developer Meetup #43)
0918nobita
1
810
OSSとライセンスの話
0918nobita
0
110
Other Decks in Programming
See All in Programming
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
190
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
240
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
400
Team operations that are not burdened by SRE
kazatohiei
1
210
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
100
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
160
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
150
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
120
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
890
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
860
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Why Our Code Smells
bkeepers
PRO
337
57k
It's Worth the Effort
3n
185
28k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Raft: Consensus for Rubyists
vanstee
140
7k
Building an army of robots
kneath
306
45k
Why You Should Never Use an ORM
jnunemaker
PRO
57
9.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Into the Great Unknown - MozCon
thekraken
39
1.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
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 •