Recommended
PDF
CEDEC 2018 最速のC#の書き方 - C#大統一理論へ向けて性能的課題を払拭する
PDF
PDF
Reactive Extensionsで非同期処理を簡単に
PDF
The History of Reactive Extensions
PDF
PPTX
PDF
The Next Generation for C# Developers
PDF
What, Why, How Create OSS Libraries - 過去に制作した30のライブラリから見るC#コーディングテクニックと個人OSSの...
PPTX
PPTX
PDF
PDF
「黒騎士と白の魔王」gRPCによるHTTP/2 - API, Streamingの実践
PDF
Observable Everywhere - Rxの原則とUniRxにみるデータソースの見つけ方
PPTX
PDF
【Unite Tokyo 2019】Understanding C# Struct All Things
PDF
PDF
PDF
PDF
PDF
ZeroFormatterに見るC#で最速のシリアライザを作成する100億の方法
PDF
History & Practices for UniRx UniRxの歴史、或いは開発(中)タイトルの用例と落とし穴の回避法
PDF
ZeroFormatter/MagicOnion - Fastest C# Serializer/gRPC based C# RPC
PDF
Hello Dark-Side C# (Part. 1)
PDF
hooks riverpod + state notifier + freezed でのドメイン駆動設計
PDF
PDF
OSC2013 Tokyo/Spring JOSUG
PDF
Metaprogramming Universe in C# - 実例に見るILからRoslynまでの活用例
PPTX
未来のプログラミング技術をUnityで -UniRx-
PDF
Reactive Programming by UniRx for Asynchronous & Event Processing
PDF
AWS + Windows(C#)で構築する.NET最先端技術によるハイパフォーマンスウェブアプリケーション開発実践
More Related Content
PDF
CEDEC 2018 最速のC#の書き方 - C#大統一理論へ向けて性能的課題を払拭する
PDF
PDF
Reactive Extensionsで非同期処理を簡単に
PDF
The History of Reactive Extensions
PDF
PPTX
PDF
The Next Generation for C# Developers
PDF
What, Why, How Create OSS Libraries - 過去に制作した30のライブラリから見るC#コーディングテクニックと個人OSSの...
What's hot
PPTX
PPTX
PDF
PDF
「黒騎士と白の魔王」gRPCによるHTTP/2 - API, Streamingの実践
PDF
Observable Everywhere - Rxの原則とUniRxにみるデータソースの見つけ方
PPTX
PDF
【Unite Tokyo 2019】Understanding C# Struct All Things
PDF
PDF
PDF
PDF
PDF
ZeroFormatterに見るC#で最速のシリアライザを作成する100億の方法
PDF
History & Practices for UniRx UniRxの歴史、或いは開発(中)タイトルの用例と落とし穴の回避法
PDF
ZeroFormatter/MagicOnion - Fastest C# Serializer/gRPC based C# RPC
PDF
Hello Dark-Side C# (Part. 1)
PDF
hooks riverpod + state notifier + freezed でのドメイン駆動設計
PDF
PDF
OSC2013 Tokyo/Spring JOSUG
Viewers also liked
PDF
Metaprogramming Universe in C# - 実例に見るILからRoslynまでの活用例
PPTX
未来のプログラミング技術をUnityで -UniRx-
PDF
Reactive Programming by UniRx for Asynchronous & Event Processing
PDF
AWS + Windows(C#)で構築する.NET最先端技術によるハイパフォーマンスウェブアプリケーション開発実践
PDF
Reactive extensions入門v0.1
PDF
UniRx - Reactive Extensions for Unity
PPTX
PPTX
PPTX
PDF
Interactive UI with UniRx
PPTX
若輩エンジニアから見たUniRxを利用したゲーム開発
PDF
「ずいぶんとダサいライティングを使っているのね」〜UniRxを用いた物理ベースライティング制御〜
PDF
Visual Studio 2017 RC C# まわり
PPT
World Computer Congress Keynote
PPTX
PDF
PPTX
Jongerenparticipatie Sensoa - Inspiratiedag Kansengroepen van Ambrassade op ...
PDF
PPTX
Structurarea unei cotatii in mai multe sectiuni
PDF
Similar to UniRx勉強会 reactive extensions inside(公開用)
PPTX
PDF
PDF
PDF
PDF
脱UniRx&Croutineから始めるUniTask
PDF
PDF
PDF
PDF
PPTX
PDF
PDF
RxShowcase -for ignote & i-Jupiter-
PDF
SpringOne Platform 2016 報告会「A Lite Rx API for the JVM」/ 井口 貝 @ SmartNews, Inc.
PDF
PDF
Why Reactive Matters #ScalaMatsuri
PDF
PPTX
PPTX
PDF
Reactive Extensionsはじめました
PPTX
UniRx勉強会 reactive extensions inside(公開用) 1. 2. 3. What’s Rx
The Reactive Extensions (Rx) is a library for composing asynchronous and
event-based programs using observable sequences and LINQ-style query
operators. Using Rx, developers represent asynchronous data streams
with Observables, query asynchronous data streams using LINQ operators,
and parameterize the concurrency in the asynchronous data streams
using Schedulers. Simply put, Rx = Observables + LINQ + Schedulers.
わからん!
Rx公式のBrief Introより
4. 5. 6. 7. 8. 9. 10. 11. C#におけるevent
C#のイベントとは
• イベントが発生したタイミングで
• EventArgsと一緒にpushされる
push
push
push
push
Event
Event
Event
Event
time Args
Args
Args
Args
12. 13. 14. 15. push
Eve
nt
Args
callbac
k
結
果
time call call call call
つまり
time
push
Eve
nt
Args
push
Eve
nt
Args
push
Eve
nt
Args
処
理
投
げ
time
Event/
メッセージ
非同期
Update
すべてが「時間」というシーケンス上の「要素」となる
16. 17. 18. 19. Rxの便利機能一覧
• IObservableのの合成・フィルタ・射影
• スケジューラー機能
• Subject<T>
• 時間系機能
• 遅延やバッファ
• Cold/Hot
• Event→IObservable<T>変換
• (Unity向け)コルーチン→IObservable<T>変換
• (Unity向け)EveryUpdate()
などなど
https://github.com/neuecc/UniRx
http://www.slideshare.net/okazuki0130/reactive-extensionsv01
20. 21. Rx VS event
• Rxが後発
• Rxもeventも、コールバック登録は同じ
• 送付終了&エラーはeventには無い
• eventにはフィルタや射影の機能は無い
• Rxはdelegate定義要らない
Eventの上位互換なので置き換えましょう。
22. Rx VS async/await(Future)
• RxはFutureパターンもできる。
– Task<T>=1個だけ値を返すIO<T>
• Task<T>の利点
– ランタイム&コンパイラのサポート
– ワーカスレッドの自動割り当て
• Task<T>の欠点
– Unityではどう頑張っても使えない。
23. 24.