AtomicResource is a thread-safe utility for holding a single instance of a resource that can be lazily created, atomically reset, and asynchronously torn down, ensuring safe concurrent access and predictable lifecycle management.
dotnet add package Soenneker.Utils.AtomicResources
