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

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

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