{"id":16607136,"url":"https://github.com/ryankurte/go-async-mgr","last_synced_at":"2026-05-26T13:36:06.765Z","repository":{"id":57590513,"uuid":"83881885","full_name":"ryankurte/go-async-mgr","owner":"ryankurte","description":"A quick and dirty wrapper for parallel asynchronous services in go","archived":false,"fork":false,"pushed_at":"2017-03-15T22:02:03.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T13:18:50.125Z","etag":null,"topics":["asynchronous","golang","manager","parallel"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ryankurte.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}},"created_at":"2017-03-04T09:22:00.000Z","updated_at":"2017-03-16T11:31:12.000Z","dependencies_parsed_at":"2022-09-06T12:13:00.419Z","dependency_job_id":null,"html_url":"https://github.com/ryankurte/go-async-mgr","commit_stats":null,"previous_names":["ryankurte/go-async"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Fgo-async-mgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Fgo-async-mgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Fgo-async-mgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Fgo-async-mgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryankurte","download_url":"https://codeload.github.com/ryankurte/go-async-mgr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242768086,"owners_count":20182099,"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":["asynchronous","golang","manager","parallel"],"created_at":"2024-10-12T01:11:44.626Z","updated_at":"2025-12-07T13:02:04.334Z","avatar_url":"https://github.com/ryankurte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-async-mgr\n\n[![Documentation](https://img.shields.io/badge/docs-godoc-blue.svg)](https://godoc.org/github.com/ryankurte/go-async-mgr)\n[![GitHub tag](https://img.shields.io/github/tag/ryankurte/go-async-mgr.svg)](https://github.com/ryankurte/go-async-mgr)\n[![Build Status](https://travis-ci.org/ryankurte/go-async-mgr.svg?branch=master)](https://travis-ci.org/ryankurte/go-async-mgr)\n\nA quick and dirty wrapper for managing communication between parallel asynchronous services.\n\n## Usage\n\n```go\n\n\nimport(\n    \"gopkg.in/ryankurte/go-async-mgr.v1\"\n)\n\n// Create a service manager\n// This requires that you specify the global input channel size\nsm := async.NewServiceManager(32)\n\n// Create async service instances around RunnableInterfaces\n// Again, this requires that you specify the per-service input channel size\ns1 := async.NewAsyncService(\u0026FakeWorker{id: 1}, 2)\ns2 := async.NewAsyncService(\u0026FakeWorker{id: 2}, 2)\n\n// Bind the services into the manager\nsm.BindService(\u0026s1)\nsm.BindService(\u0026s2)\n\n// Run the service manager\n// This launches all worker threads automatically\nsm.Run()\n\n// Send some events to the service manager\n// These will be distributed to all workers (in parallel)\nsm.SendEvent(\"test\")\n\n...\n\n// Shut down the service manager\n// This will wait and exit all async services\nsm.Exit()\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankurte%2Fgo-async-mgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryankurte%2Fgo-async-mgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankurte%2Fgo-async-mgr/lists"}