@@ -54,7 +54,7 @@ completion alone as you'll understand by reading the next paragraph.
|
|||||||
|
|
||||||
### Non-leaf-futures
|
### Non-leaf-futures
|
||||||
|
|
||||||
Non-leaf-futures is the kind of futures we as _users_ of a runtime writes
|
Non-leaf-futures is the kind of futures we as _users_ of a runtime write
|
||||||
ourselves using the `async` keyword to create a **task** which can be run on the
|
ourselves using the `async` keyword to create a **task** which can be run on the
|
||||||
executor.
|
executor.
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ notifying a `Future` that it can do more work, and actually doing the work
|
|||||||
on the `Future`.
|
on the `Future`.
|
||||||
|
|
||||||
You can think of the former as the reactor's job, and the latter as the
|
You can think of the former as the reactor's job, and the latter as the
|
||||||
executors job. These two parts of a runtime interacts using the `Waker` type.
|
executors job. These two parts of a runtime interact with each other using the `Waker` type.
|
||||||
|
|
||||||
The two most popular runtimes for `Futures` as of writing this is:
|
The two most popular runtimes for `Futures` as of writing this is:
|
||||||
|
|
||||||
@@ -215,4 +215,4 @@ However, if you feel that you have the basics covered, then let's get moving!
|
|||||||
[async_std]: https://github.com/async-rs/async-std
|
[async_std]: https://github.com/async-rs/async-std
|
||||||
[tokio]: https://github.com/tokio-rs/tokio
|
[tokio]: https://github.com/tokio-rs/tokio
|
||||||
[compat_info]: https://rust-lang.github.io/futures-rs/blog/2019/04/18/compatibility-layer.html
|
[compat_info]: https://rust-lang.github.io/futures-rs/blog/2019/04/18/compatibility-layer.html
|
||||||
[futures_rs]: https://github.com/rust-lang/futures-rs
|
[futures_rs]: https://github.com/rust-lang/futures-rs
|
||||||
|
|||||||
Reference in New Issue
Block a user