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

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

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