I need to query an IObservable<string> ( _WatchForString ) for a period of time ( let's say 5 seconds ). I'm trying the following, but appears to only return the first item after the time has past. How do I get the entire list of strings
that was triggered during the period of time?
Thanks
var result = (from s in _WatchForString
select s).TakeUntil(DateTime.Now.AddSeconds(5));