Esempio n. 1
0
        public async Task TaskContinuousBatchRawLoaderAsync()
        {
            var downloader = new TaskContinuousBatchRawLoader(Constants.MaxConcurrency);

            (await downloader.LoadAsync(_uris)).Consume(_consumer);
        }
Esempio n. 2
0
        public async Task <IEnumerable <string> > TaskContinuousBatchRawLoaderAsync()
        {
            var downloader = new TaskContinuousBatchRawLoader(Constants.MaxConcurrency);

            return(await downloader.LoadAsync(_uris));
        }