public void WhenAllEnumerable() { var xs = new[] { Observable.Return(100), Observable.Timer(TimeSpan.FromSeconds(1)).Select(_ => 5), Observable.Range(1, 4) }.Select(x => x).WhenAll().Wait(); xs.IsCollection(100, 5, 4); }
public void WhenAllEnumerable() { SetScehdulerForImport(); var xs = new[] { Observable.Return(100), Observable.Timer(TimeSpan.FromSeconds(1)).Select(_ => 5), Observable.Range(1, 4) }.Select(x => x).WhenAll().Wait(); xs.IsCollection(100, 5, 4); UniRx.Scheduler.SetDefaultForUnity(); }