Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async

Package Overview
Dependencies
Maintainers
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async

  • 2.21.1
  • Rubygems
  • Socket score

Version published
Maintainers
27
Created
Source

Async

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

Development Status

Features

  • Scalable event-driven I/O for Ruby. Thousands of clients per process!
  • Light weight fiber-based concurrency. No need for callbacks!
  • Multi-thread/process containers for parallelism.
  • Growing eco-system of event-driven components.

Usage

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.

Releases

Please see the project releases for all releases.

v2.21.1

v2.20.0

v2.19.0

v2.18.0

  • Add support for Sync(annotation:), so that you can annotate the block with a description of what it does, even if it doesn't create a new task.

v2.17.0

  • Introduce Async::Queue#push and Async::Queue#pop for compatibility with ::Queue.

v2.16.0

See Also

  • async-http — Asynchronous HTTP client/server.
  • async-websocket — Asynchronous client and server websockets.
  • async-dns — Asynchronous DNS resolver and server.
  • falcon — A rack compatible server built on top of async-http.
  • rubydns — An easy to use Ruby DNS server.
  • slack-ruby-bot — A client for making slack bots.

Contributing

We welcome contributions to this project.

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.

Developer Certificate of Origin

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.

Community Guidelines

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.

FAQs

Package last updated on 27 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc