{"id":31780726,"url":"https://github.com/springhgui/hashedwheeltimer","last_synced_at":"2025-10-10T08:18:33.182Z","repository":{"id":305829715,"uuid":"627409376","full_name":"SpringHgui/HashedWheelTimer","owner":"SpringHgui","description":"High performance and light weight HashedWheelTimer implement by c#","archived":false,"fork":false,"pushed_at":"2023-04-18T08:14:17.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T23:54:02.191Z","etag":null,"topics":["hashedwheeltimer","timer","timingwheel","wheel","wheeltimer"],"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/SpringHgui.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":"2023-04-13T12:10:02.000Z","updated_at":"2025-05-21T04:31:54.000Z","dependencies_parsed_at":"2025-07-22T08:44:04.633Z","dependency_job_id":"fcb8d177-5b63-4bf1-90fd-ce8269b0c097","html_url":"https://github.com/SpringHgui/HashedWheelTimer","commit_stats":null,"previous_names":["springhgui/wheeltimer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SpringHgui/HashedWheelTimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringHgui%2FHashedWheelTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringHgui%2FHashedWheelTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringHgui%2FHashedWheelTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringHgui%2FHashedWheelTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringHgui","download_url":"https://codeload.github.com/SpringHgui/HashedWheelTimer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringHgui%2FHashedWheelTimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003301,"owners_count":26083555,"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-10-10T02:00:06.843Z","response_time":62,"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":["hashedwheeltimer","timer","timingwheel","wheel","wheeltimer"],"created_at":"2025-10-10T08:18:32.012Z","updated_at":"2025-10-10T08:18:33.174Z","avatar_url":"https://github.com/SpringHgui.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HashedWheelTimer\n[![Nuget](https://img.shields.io/nuget/v/WheelTimer)](https://www.nuget.org/packages/WheelTimer/)\n\nHigh performance and light weight `HashedWheelTimer` implement by c#\n\nfork from [DotNetty](https://github.com/Azure/DotNetty/blob/dev/src/DotNetty.Common/Utilities/HashedWheelTimer.cs)\n\n# Install nuget package\n```\ndotnet add package WheelTimer\n```\n# Usages\n\n```c#\n\n// 1. Inheritance interface: `ITimerTask`\n// such as:\npublic class ActionTimerTask : ITimerTask\n{\n    readonly Action\u003cITimeout\u003e action;\n\n    public ActionTimerTask(Action\u003cITimeout\u003e action) =\u003e this.action = action;\n\n    public void Run(ITimeout timeout) =\u003e this.action(timeout);\n}\n\n// 2. add ITimerTask by `NewTimeout` method\nITimer timer = new HashedWheelTimer(TimeSpan.FromMilliseconds(100), 512, -1);\nITimeout timeout = timer.NewTimeout(\n    new ActionTimerTask(\n        t =\u003e\n        {\n           // do what you want here\n        }),\n    TimeSpan.FromSeconds(10));\n\ntimer.StopAsync().Wait();\n``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringhgui%2Fhashedwheeltimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringhgui%2Fhashedwheeltimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringhgui%2Fhashedwheeltimer/lists"}