public async Task <IEnumerable <DummyData> > Producer1Consumer1DeserializingLoaderAsync() { using (var downloader = new Producer1Consumer1DeserializingLoader(Constants.MaxConcurrency)) { return(await downloader.LoadAsync(_uris)); } }
public async Task Producer1Consumer1DeserializingLoaderAsync() { using (var downloader = new Producer1Consumer1DeserializingLoader(Constants.MaxConcurrency)) { (await downloader.LoadAsync(_uris)).Consume(_consumer); } }