Crates.io | tokio-reactor |
lib.rs | tokio-reactor |
version | 0.1.12 |
source | src |
created_at | 2018-02-01 17:43:49.444123 |
updated_at | 2020-02-05 00:24:22.888936 |
description | Event loop that drives Tokio I/O resources. |
homepage | https://tokio.rs |
repository | https://github.com/tokio-rs/tokio |
max_upload_size | |
id | 49184 |
size | 82,297 |
Event loop that drives Tokio I/O resources.
Note: This crate is deprecated in tokio 0.2.x and has been moved and refactored into various places in the
tokio::runtime
andtokio::io
modules of thetokio
crate. The Reactor has also been renamed the "I/O Driver".
The reactor is the engine that drives asynchronous I/O resources (like TCP and
UDP sockets). It is backed by mio
and acts as a bridge between mio
and
futures
.
The crate provides:
Reactor
is the main type of this crate. It performs the event loop logic.
Handle
provides a reference to a reactor instance.
Registration
and PollEvented
allow third parties to implement I/O
resources that are driven by the reactor.
Application authors will not use this crate directly. Instead, they will use the
tokio
crate. Library authors should only depend on tokio-reactor
if they
are building a custom I/O resource.
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.