A C# .NET 6 library for parallel async request handling. Features include priority settings, retry functions, and expandable classes, making it ideal for HTTP requests and CPU-intensive tasks.
$ dotnet add package Shard.RequestsPerformance async task management with priority queues, automatic retries, and pause/resume capabilities for .NET
Requests transforms chaotic async workflows into manageable, priority-driven operations. Built for developers who need more than basic task scheduling—think game engines, batch processors, API orchestrators, and complex data pipelines.
dotnet add package Shard.Requests
using Shard.Requests;
// Wrap any async operation
var request = new OwnRequest(async token =>
{
var response = await httpClient.GetAsync(url, token);
return response.IsSuccessStatusCode;
}, new() {
Priority = RequestPriority.High,
NumberOfAttempts = 3,
DelayBetweenAttempts = TimeSpan.FromSeconds(2)
});
// Request auto-starts with built-in retry and priority handling
await request.Task;
await Request.Yield() for graceful interruptionWiki Architecture deep-dives, examples, and API reference
Built for developers who need industrial-strength async control without the complexity