Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ストリームで特定の値を待っています。その時点で、サブスクライバーで何らかの作業を行い、進行中のストリームからもサブスクライブを解除したいと考えています。それを行うための最良の構文は何ですか?
このようなもの:
var value = stream.Where(/* predicate to select value of interest */) .Take(1) .Subscribe(value => /* do work */);