event-loop / 0.0.20050825.1600
| Short description: | Simple and easy to use event loop | |||||
|---|---|---|---|---|---|---|
| Category: | Library/IO | |||||
| Status: | late alpha/early beta | |||||
| Created: | 2005-08-25 13:33:12 GMT | |||||
| Last update: | 2005-08-25 13:59:08 GMT | |||||
| Owner: | dbrock (Projects of this owner) | |||||
| Homepage: | http://www.brockman.se/software/ruby-event-loop/ | |||||
| Download: | http://www.brockman.se/software/ruby-event-loop/ | |||||
| License: | GPL | |||||
| Dependency: |
|
|||||
| Description: | EventLoop is a simple IO::select-based main event loop featuring IO event notification and timeout callbacks. It comes with a signal system inspired by that of GLib. Appetizing examples:
socket.on_readable { socket.sysread(256) }
Timer.new(1.0) { @clock.tick }
|
|||||