I'm applying reactive programming to the Unity3D project. Is there a way to specify a variable number of Observable in Observable.WhenAll()?
Sample or search results suggest an explicit way to enter all non-variable items, most of which are not variable numbers.
var parallel = Observable.WhenAll(
ObservableWWW.Get ("http://google.com/"),
ObservableWWW.Get ("http://bing.com/"),
ObservableWWW.Get ("http://unity3d.com/");
What I want is as follows.
List<string> URLs = new List<string>();
URLs.Add("http://google.com/");
URLs.Add("http://bing.com/");
...
...
var parallel = Observable.WhenAll( ??? //ObservableWWW.Get() : count of URLs list);
Please reply. Thank you.