An awesome asynchronous event-driven reactor for Ruby.
MIT License
Async is a composable asynchronous I/O framework for Ruby based on io-event.
"Lately I've been looking into
async
, as one of my projects – tus-ruby-server – would really benefit from non-blocking I/O. It's really beautifully designed." – janko
Please see the project documentation for more details.
Getting Started - This guide shows how to add async to your project and run code asynchronously.
Asynchronous Tasks - This guide explains how asynchronous tasks work and how to use them.
Event Loop - This guide gives an overview of how the event loop is implemented.
Compatibility - This guide gives an overview of the compatibility of Async with Ruby and other frameworks.
Best Practices - This guide gives an overview of best practices for using Async.
Debugging - This guide explains how to debug issues with programs that use Async.
Please see the project releases for all releases.
Async::Queue#push
and Async::Queue#pop
for compatibility with ::Queue
.async-http
.We welcome contributions to this project.
git checkout -b my-new-feature
).git commit -am 'Add some feature'
).git push origin my-new-feature
).In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This 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.