3 unstable releases
Uses old Rust 2015
0.2.0 | Nov 4, 2017 |
---|---|
0.1.1 | Nov 3, 2017 |
0.1.0 | Nov 2, 2017 |
27KB
796 lines
Task Kit
Easy asyncronous tasks for Rust programmers
The purpose of task kit is to provide a easy to use set of types for building
asyncronous logic. These types include to key pieces, Task
and Runner
.
Task
encapulates polling or long running logic that is desired to be non
blocking. Tasks then can be passed to a Runner
to be executed.
Note a Task
can be executed without the Runner
as well, but it will be
up to you to deal with control flow and threading.
Quick Start
Using Task Kit is pretty straight forward. The first thing you should understand is how to create tasks. We'll start with an example that
Dependencies
~360–610KB