public async Task EnqueueAll(IEnumerable <IDownload> items, CancellationToken token) { await Task.WhenAll(items.Select(async x => await Pending.EnqueueAsync(x, token))); }