{"id":20215402,"url":"https://github.com/hnc-agency/hnc","last_synced_at":"2025-10-10T19:13:29.553Z","repository":{"id":56575772,"uuid":"239425168","full_name":"hnc-agency/hnc","owner":"hnc-agency","description":"hnc - Erlang worker pool","archived":false,"fork":false,"pushed_at":"2022-12-28T09:30:50.000Z","size":136,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-07T22:03:50.037Z","etag":null,"topics":["erlang","pool"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hnc-agency.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":"2020-02-10T04:13:18.000Z","updated_at":"2023-07-28T17:41:29.000Z","dependencies_parsed_at":"2023-01-31T06:15:41.120Z","dependency_job_id":null,"html_url":"https://github.com/hnc-agency/hnc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hnc-agency/hnc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnc-agency%2Fhnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnc-agency%2Fhnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnc-agency%2Fhnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnc-agency%2Fhnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hnc-agency","download_url":"https://codeload.github.com/hnc-agency/hnc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnc-agency%2Fhnc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274983867,"owners_count":25385526,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"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":["erlang","pool"],"created_at":"2024-11-14T06:22:00.196Z","updated_at":"2025-10-10T19:13:24.532Z","avatar_url":"https://github.com/hnc-agency.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hnc (Agency) - Erlang worker pool\n\n```erlang\n%% Start hnc application.\napplication:ensure_all_started(hnc).\n\n%% Start a pool with default options.\n{ok, _}=hnc:start_pool(my_pool, #{}, my_worker, []).\n\n%% Check out a worker.\nWorkerRef=hnc:checkout(my_pool).\n\n%% Get the worker pid from the identifier.\nWorker=hnc:get_worker(WorkerRef).\n\n%% Do some stuff with the worker.\nmy_worker:do_stuff(Worker).\n\n%% Check worker back in.\nok=hnc:checkin(my_pool, WorkerRef).\n\n%% Stop the pool\nok=hnc:stop_pool(my_pool).\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnc-agency%2Fhnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhnc-agency%2Fhnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnc-agency%2Fhnc/lists"}