Sign in Sign up
nuget

GM.Idempotency

Idempotency-key management for the GM.* ecosystem. A provider-agnostic IIdempotencyService (IsProcessed / MarkAsProcessed / TryGetCachedResult, plus a race-safe ExecuteAsync check-and-set) backed by GM.Caching for TTL-based dedup-key storage and guarded by GM.DistributedLock so two near-simultaneous duplicates cannot both pass the "not yet processed" gate. Stores enough of the original result to replay it safely. Flexible key strategy (caller-supplied or derived/hashed) and one call — AddGMIdempotency() — to wire it up. HTTP middleware and GM.Mediator behavior ship in the GM.Idempotency.Http / .Mediator packages.

nuget View on Nuget

Activity

Latest release
2w ago
Total releases
2
Cadence
~27 days
Last 12 months
2

Details

License
MIT
First release
Aug 03, 2026
Releases
Version Released
1.0.1 patch
1.0.0 initial