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.Atomics.Resources
Soenneker.Atomics.Resourcesdotnet add package Soenneker.Atomics.Resources