{"id":31771602,"url":"https://github.com/voidwyrm-2/go-async","last_synced_at":"2026-06-24T03:31:37.555Z","repository":{"id":318115459,"uuid":"1012151024","full_name":"voidwyrm-2/go-async","owner":"voidwyrm-2","description":"A library that implements asynchronous structures over gorountines","archived":false,"fork":false,"pushed_at":"2025-07-02T03:03:38.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T02:42:47.347Z","etag":null,"topics":["async","async-await","asynchronous-programming","go","golang","library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voidwyrm-2.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-01T22:36:38.000Z","updated_at":"2025-07-06T16:44:20.000Z","dependencies_parsed_at":"2025-10-05T08:32:46.448Z","dependency_job_id":"e82f3911-b6ea-4140-a546-ecd0761d1150","html_url":"https://github.com/voidwyrm-2/go-async","commit_stats":null,"previous_names":["voidwyrm-2/go-async"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voidwyrm-2/go-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidwyrm-2%2Fgo-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidwyrm-2%2Fgo-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidwyrm-2%2Fgo-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidwyrm-2%2Fgo-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidwyrm-2","download_url":"https://codeload.github.com/voidwyrm-2/go-async/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidwyrm-2%2Fgo-async/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34716323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["async","async-await","asynchronous-programming","go","golang","library"],"created_at":"2025-10-10T03:41:56.471Z","updated_at":"2026-06-24T03:31:37.546Z","avatar_url":"https://github.com/voidwyrm-2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-async\n\ngo-async implements asynchronous structures, like C#'s `Task`s, over Go's gorountines to allow program structuring more languages such as C# and JavaScript.\n\n## Installation\n\nRun `go get github.com/voidwyrm-2/go-async@latest` to add it to your project.\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/voidwyrm-2/go-async\"\n)\n\nfunc main() {\n\tp := goasync.NewTask(func() (struct{}, error) {\n\t\tfor i := range 4 {\n\t\t\ttime.Sleep(time.Second * 2)\n\t\t\tfmt.Printf(\"async thing %d finished\\n\", i)\n\t\t}\n\n\t\treturn struct{}{}, nil\n\t})\n\n\tp.Start()\n\n\tfmt.Println(\"doing things...\")\n\ttime.Sleep(time.Second)\n\tfmt.Println(\"doing more things...\")\n\ttime.Sleep(time.Second)\n\tfmt.Println(\"doing the last things...\")\n\ttime.Sleep(time.Second * 3)\n\tfmt.Println(\"waiting for background processes\")\n\n\tp.Await()\n\n\tfmt.Println(\"all done!\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidwyrm-2%2Fgo-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidwyrm-2%2Fgo-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidwyrm-2%2Fgo-async/lists"}