{"id":19489045,"url":"https://github.com/comradevanti/csharpnothing","last_synced_at":"2025-07-09T17:06:41.727Z","repository":{"id":108749158,"uuid":"532269058","full_name":"ComradeVanti/CSharpNothing","owner":"ComradeVanti","description":"A unit/nothing type for C#","archived":false,"fork":false,"pushed_at":"2024-03-19T10:25:17.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T15:11:29.724Z","etag":null,"topics":["csharp","functional","nothing","unit","utility"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComradeVanti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-09-03T13:31:14.000Z","updated_at":"2022-09-03T14:21:38.000Z","dependencies_parsed_at":"2023-06-04T18:15:29.764Z","dependency_job_id":null,"html_url":"https://github.com/ComradeVanti/CSharpNothing","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ComradeVanti/CSharpNothing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FCSharpNothing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FCSharpNothing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FCSharpNothing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FCSharpNothing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComradeVanti","download_url":"https://codeload.github.com/ComradeVanti/CSharpNothing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComradeVanti%2FCSharpNothing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502146,"owners_count":23618555,"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":["csharp","functional","nothing","unit","utility"],"created_at":"2024-11-10T21:07:08.467Z","updated_at":"2025-07-09T17:06:41.310Z","avatar_url":"https://github.com/ComradeVanti.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Nothing\n\n[![Nuget](https://img.shields.io/nuget/v/Dev.ComradeVanti.Nothing)](https://www.nuget.org/packages/Dev.ComradeVanti.Nothing)\n\nNothing is a type representing the absence of data, similarly to `Unit` in\n[F#](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/unit-type).\nUse it as a return value from methods where you would traditionally return `void`.\n\n**⚠️ Development is paused ⚠️**  \nNo new features will be added or bugs fixed unless requested through an issue.  \nIf you wish to fork this repository and continue the work, you are very welcome\nto do so.\n\n## Usage\n\n`Nothing` exposes a single static readonly instance called `Nothing.atAll`. This\ninstance is equal to itself using both `==` and `Equals`.\n\nThe package also includes a few useful extension methods which are listed below.\n\n- Convert a `Task` to a `Task\u003cNothing\u003e` using the `ToNothingTask` method\n- Convert a `Action` to a `Func\u003cNothing\u003e` using the `ToNothingFunc` method.\n  Works with up to 3 parameters\n- Convert anything to `Nothing` with the `Discard` method\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomradevanti%2Fcsharpnothing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomradevanti%2Fcsharpnothing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomradevanti%2Fcsharpnothing/lists"}