https://github.com/soenneker/soenneker.asyncs.initializers
A lightweight, async-safe, allocation-free one-time initialization gate. Ensures a given asynchronous initialization routine runs exactly once, even under concurrent callers, with support for cancellation, safe publication, and disposal.
https://github.com/soenneker/soenneker.asyncs.initializers
async asyncinitializer asyncs csharp dotnet gate initialization initializers util
Last synced: 5 days ago
JSON representation
A lightweight, async-safe, allocation-free one-time initialization gate. Ensures a given asynchronous initialization routine runs exactly once, even under concurrent callers, with support for cancellation, safe publication, and disposal.
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.asyncs.initializers
- Owner: soenneker
- License: mit
- Created: 2025-12-21T13:46:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-09T21:30:37.000Z (5 days ago)
- Last Synced: 2026-03-09T21:52:26.317Z (5 days ago)
- Topics: async, asyncinitializer, asyncs, csharp, dotnet, gate, initialization, initializers, util
- Language: C#
- Homepage: https://soenneker.com
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/soenneker.asyncs.initializers/)
[](https://github.com/soenneker/soenneker.asyncs.initializers/actions/workflows/publish-package.yml)
[](https://www.nuget.org/packages/soenneker.asyncs.initializers/)
[](https://github.com/soenneker/soenneker.asyncs.initializers/actions/workflows/codeql.yml)
#  Soenneker.Asyncs.Initializers
### A lightweight, async-safe, allocation-free one-time initialization gate. Ensures a given asynchronous initialization routine runs exactly once, even under concurrent callers, with support for cancellation, safe publication, and disposal.
## Installation
```
dotnet add package Soenneker.Asyncs.Initializers
```