File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,13 @@ https://github.com/async-rs/async-task)
7
7
[ ![ Documentation] ( https://docs.rs/async-task/badge.svg )] ( https://docs.rs/async-task )
8
8
[ ![ chat] ( https://img.shields.io/discord/598880689856970762.svg?logo=discord )] ( https://discord.gg/JvZeVNe )
9
9
10
- A task abstraction for building executors.
10
+ Task abstraction for building executors.
11
11
12
- This crate makes it possible to build an efficient and extendable executor in few lines of
13
- code.
12
+ To spawn a future onto an executor, we first need to allocate it on the heap and keep some
13
+ state alongside it. The state indicates whether the future is ready for polling, waiting to be
14
+ woken up, or completed. Such a future is called a * task* .
15
+
16
+ This crate helps with task allocation and polling its future to completion.
14
17
15
18
## License
16
19
You can’t perform that action at this time.
0 commit comments