{"id":28997813,"url":"https://github.com/open-net-libraries/open.asynctoolkit","last_synced_at":"2025-06-25T06:32:35.401Z","repository":{"id":291670926,"uuid":"978167136","full_name":"Open-NET-Libraries/Open.AsyncToolkit","owner":"Open-NET-Libraries","description":".NET libraries providing composable, asynchronous interfaces and classes for key-value storage, blob operations, and more.","archived":false,"fork":false,"pushed_at":"2025-06-15T21:48:28.000Z","size":227,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T23:22:31.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Open-NET-Libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-05T15:12:53.000Z","updated_at":"2025-05-22T04:38:41.000Z","dependencies_parsed_at":"2025-06-15T23:15:47.148Z","dependency_job_id":"490e65b8-929f-469f-9389-523401626aef","html_url":"https://github.com/Open-NET-Libraries/Open.AsyncToolkit","commit_stats":null,"previous_names":["open-net-libraries/open.blobstorageadapter","open-net-libraries/open.asynctoolkit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Open-NET-Libraries/Open.AsyncToolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-NET-Libraries%2FOpen.AsyncToolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-NET-Libraries%2FOpen.AsyncToolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-NET-Libraries%2FOpen.AsyncToolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-NET-Libraries%2FOpen.AsyncToolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Open-NET-Libraries","download_url":"https://codeload.github.com/Open-NET-Libraries/Open.AsyncToolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-NET-Libraries%2FOpen.AsyncToolkit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261819110,"owners_count":23214430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-25T06:30:48.510Z","updated_at":"2025-06-25T06:32:35.385Z","avatar_url":"https://github.com/Open-NET-Libraries.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open.AsyncToolkit\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/Open-NET-Libraries/Open.AsyncToolkit/blob/main/LICENSE)\n\n## Overview\n\nOpen.AsyncToolkit offers a set of focused interfaces and implementations for common asynchronous programming patterns. The libraries follow interface segregation principles to enable precise dependency injection and composability.\n\n## Packages\n\n| Package | Description | NuGet |\n|---------|-------------|-------|\n| [Open.AsyncToolkit.KeyValue](src/Open.AsyncToolkit.KeyValue/README.md) | Core library providing foundational building blocks for asynchronous key-value operations | [![NuGet](https://img.shields.io/nuget/v/Open.AsyncToolkit.KeyValue.svg?label=NuGet)](https://www.nuget.org/packages/Open.AsyncToolkit.KeyValue/) |\n| [Open.AsyncToolkit.BlobStorage](src/Open.AsyncToolkit.BlobStorage/README.md) | Composable interfaces for blob storage operations | [![NuGet](https://img.shields.io/nuget/v/Open.AsyncToolkit.BlobStorage.svg?label=NuGet)](https://www.nuget.org/packages/Open.AsyncToolkit.BlobStorage/) |\n| [Open.AsyncToolkit.HashedRepository](src/Open.AsyncToolkit.HashedRepository/README.md) | Content-addressable storage built on top of the foundational interfaces | [![NuGet](https://img.shields.io/nuget/v/Open.AsyncToolkit.HashedRepository.svg?label=NuGet)](https://www.nuget.org/packages/Open.AsyncToolkit.HashedRepository/) |\n\n## Key Principles\n\n### 🧱 Building Block Architecture\n\nAll packages in Open.AsyncToolkit are built using a foundation of small, focused interfaces that can be composed to create more complex functionality:\n\n- **Interface Segregation**: Granular interfaces allow for precise dependency injection\n- **Composability**: Mix and match components to build custom solutions\n- **Testability**: Easily mock dependencies in unit tests\n\n### Example\n\n```csharp\n// Only depend on the operations you actually need\npublic class UserProfileService\n{\n    private readonly IReadAsync\u003cstring, UserProfile\u003e _profileReader;\n    private readonly IUpdateAsync\u003cstring, UserProfile\u003e _profileUpdater;\n\n    public UserProfileService(\n        IReadAsync\u003cstring, UserProfile\u003e profileReader,\n        IUpdateAsync\u003cstring, UserProfile\u003e profileUpdater)\n    {\n        _profileReader = profileReader;\n        _profileUpdater = profileUpdater;\n    }\n\n    public async Task\u003cUserProfile\u003e GetUserProfileAsync(string userId)\n        =\u003e await _profileReader.ReadAsync(userId);\n\n    public async Task UpdateUserEmailAsync(string userId, string newEmail)\n    {\n        var profile = await _profileReader.ReadAsync(userId);\n        profile.Email = newEmail;\n        await _profileUpdater.UpdateAsync(userId, profile);\n    }\n}\n```\n\n## Features\n\n- **Async-first design**: Built around ValueTask-based async patterns for high performance\n- **Cross-platform**: Works on all .NET platforms supporting .NET Standard 2.0, 2.1, and .NET 9\n- **Modern C# features**: Utilizes the latest C# language features\n- **Well-tested**: Comprehensive test coverage ensures reliability\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-net-libraries%2Fopen.asynctoolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-net-libraries%2Fopen.asynctoolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-net-libraries%2Fopen.asynctoolkit/lists"}