Socket
Book a DemoInstallSign in
Socket

event_utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

event_utils

0.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

= event_utils

EventUtils is meant to provide modules and classes to help building services on top of EventMachine without having to cope with some of the mechnics of eventmachine itself.

the first implemented facility is EventUtils::DeferredLoop

it makes possible to perform action on groups of deferrable objects in an intuitive way, and without having to take care of starting/stopping the EventMachine reactor

example:

d1 and d2 are two deferrables and we want to compare them but the comparaison is only feasible when d1 and d2 have both deferred status set.

In this case the code will look like

require 'event_utils' include EventUtils

in_deferred_loop do waiting_for d1, d2 do d1 > d2 end end

Check http://assertbuggy.blogspot.com for further informations and tutorials

== Copyright

Copyright (c) 2009 Paolo Negri. See LICENSE for details.

FAQs

Package last updated on 20 Feb 2010

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.