コード例 #1
0
        public async Task TaskSeqBatchRawLoaderAsync()
        {
            var downloader = new TaskSeqBatchRawLoader(Constants.MaxConcurrency);

            (await downloader.LoadAsync(_uris)).Consume(_consumer);
        }
コード例 #2
0
        public async Task <IEnumerable <string> > TaskSeqBatchRawLoaderAsync()
        {
            var downloader = new TaskSeqBatchRawLoader(Constants.MaxConcurrency);

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