{"id":13415598,"url":"https://github.com/socketry/io-event","last_synced_at":"2025-05-15T15:05:54.028Z","repository":{"id":40446206,"uuid":"289485567","full_name":"socketry/io-event","owner":"socketry","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-30T11:50:20.000Z","size":851,"stargazers_count":80,"open_issues_count":5,"forks_count":18,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-08T02:48:34.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/socketry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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},"funding":{"custom":"https://github.com/socketry/community/#funding","github":"ioquatix"}},"created_at":"2020-08-22T12:41:07.000Z","updated_at":"2025-04-30T11:50:24.000Z","dependencies_parsed_at":"2023-12-26T03:26:22.317Z","dependency_job_id":"b740d211-1521-4555-af01-f575ece78ca6","html_url":"https://github.com/socketry/io-event","commit_stats":{"total_commits":272,"total_committers":5,"mean_commits":54.4,"dds":"0.018382352941176516","last_synced_commit":"df40e1ba440cdfbb99439eaa97873cd63e00a82d"},"previous_names":["socketry/event"],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fio-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fio-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fio-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fio-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socketry","download_url":"https://codeload.github.com/socketry/io-event/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989944,"owners_count":21836665,"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":[],"created_at":"2024-07-30T21:00:50.618Z","updated_at":"2025-05-15T15:05:53.953Z","avatar_url":"https://github.com/socketry.png","language":"C","funding_links":["https://github.com/socketry/community/#funding","https://github.com/sponsors/ioquatix"],"categories":["Ruby"],"sub_categories":[],"readme":"# ![IO::Event](logo.svg)\n\nProvides low level cross-platform primitives for constructing event loops, with support for `select`, `kqueue`, `epoll` and `io_uring`.\n\n[![Development Status](https://github.com/socketry/io-event/workflows/Test/badge.svg)](https://github.com/socketry/io-event/actions?workflow=Test)\n\n## Motivation\n\nThe initial proof-of-concept [Async](https://github.com/socketry/async) was built on [NIO4r](https://github.com/socketry/nio4r). It was perfectly acceptable and well tested in production, however being built on `libev` was a little bit limiting. I wanted to directly build my fiber scheduler into the fabric of the event loop, which is what this gem exposes - it is specifically implemented to support building event loops beneath the fiber scheduler interface, providing an efficient C implementation of all the core operations.\n\n## Usage\n\nPlease see the [project documentation](https://socketry.github.io/io-event/) for more details.\n\n  - [Getting Started](https://socketry.github.io/io-event/guides/getting-started/index) - This guide explains how to use `io-event` for non-blocking IO.\n\n## Releases\n\nPlease see the [project releases](https://socketry.github.io/io-event/releases/index) for all releases.\n\n### v1.10.0\n\n  - `IO::Event::Profiler` is moved to dedicated gem: [fiber-profiler](https://github.com/socketry/fiber-profiler).\n  - Perform runtime checks for native selectors to ensure they are supported in the current environment. While compile-time checks determine availability, restrictions like seccomp and SELinux may still prevent them from working.\n\n### v1.9.0\n\n  - Improved `IO::Event::Profiler` for detecting stalls.\n\n### v1.8.0\n\n  - Detecting fibers that are stalling the event loop.\n\n### v1.7.5\n\n  - Fix `process_wait` race condition on EPoll that could cause a hang.\n\n## Contributing\n\nWe welcome contributions to this project.\n\n1.  Fork it.\n2.  Create your feature branch (`git checkout -b my-new-feature`).\n3.  Commit your changes (`git commit -am 'Add some feature'`).\n4.  Push to the branch (`git push origin my-new-feature`).\n5.  Create new Pull Request.\n\n### Developer Certificate of Origin\n\nIn order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.\n\n### Community Guidelines\n\nThis project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fio-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocketry%2Fio-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fio-event/lists"}