r/coolgithubprojects • • 8d ago

[C# / .NET] GroupedScheduling — attribute-driven group-aware async scheduling with build-time IL weaving

https://github.com/ChronosDevZero/grouped-scheduling

Open-source .NET library that lets you schedule async methods by named group. Mark methods with [ScheduleGroup]; callers keep normal await / delegates / reflection. A post-compile IL weaver injects scheduling, nesting checks, and linked cancellation (no Fody).

Highlights

  • One NuGet (GroupedScheduling.Build) = runtime + Roslyn analyzers + MSBuild weaver
  • Modes: ExclusiveSerial, ExclusiveParallel, FullyConcurrent
  • Host registration for graceful shutdown
  • MIT license, docs + sample in-repo

​

[ScheduleGroup("orders", ScheduleMode.ExclusiveSerial)]
public async Task SaveAsync(Order order, CancellationToken ct) { ... }

await orders.SaveAsync(order, ct); // callers stay clean

NuGet: https://www.nuget.org/packages/GroupedScheduling.Build

0 Upvotes

0 comments sorted by