#events #loops #mio #handler #io #listener #event-loop

nightly event

A mulit-threaded event loop for Rust

4 releases (2 breaking)

Uses old Rust 2015

0.2.1 Jan 4, 2015
0.2.0 Jan 4, 2015
0.1.1 Jan 3, 2015
0.0.1 Nov 11, 2014

#22 in #event-loop


Used in 2 crates

MIT license

9KB
242 lines

Event Build Status

A fast, thread-local event loop.

Overview

This is a fully-featured event loop built on top of mio that provides IO, timeout, and "next tick" listeners. It is meant to expose nearly all of the flexibility and speed of mio while making huge ergonomic gains by internally managing handler registration.

Examples

There are examples in the examples folder that show the functionality of event.

License

MIT


lib.rs:

An Event-Loop for Rust.

Dependencies

~0.5–8MB
~52K SLoC