RxのObservableに関するオペレータやその他もろもろに関する逆引きです。 基本的にRxJS+αなので、各実装でどういう名前になっているかはドキュメントを参照してください メモ: メッセージ=ストリームから飛んでくる値のこと。イベント=メッセージが飛んでくる+onComplete/onError。ストリーム=Observable。RxJSはPromiseもそのままストリームとして扱えることが多い。 Observableのオペレータ 生成 したいことオペレータ名備考
TL;DR: You want a HOT observable when you don’t want to create your producer over and over again. COLD is when your observable creates the producer// COLD var cold = new Observable((observer) => { var producer = new Producer(); // have observer listen to producer here });HOT is when your observable closes over the producer// HOT var producer = new Producer(); var hot = new Observable((observer) =>
Created by Jay Phelps and myself for use on our projects at Netflix, redux-observable is middleware for redux that is inspired by redux-thunk. redux-observable allows developers to dispatch a function that returns an observable, promise or iterable of action(s). When the observable emits an action, or the promise resolves an action, or the iterable gives an action out, that action is then dispatch
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く