This commit is contained in:
figurantpp
2021-05-06 08:15:40 -03:00
parent 3def942a62
commit fa959ac9a1

View File

@@ -205,4 +205,13 @@ impl Drop for Reactor {
self.handle.take().map(|h| h.join().unwrap()).unwrap();
}
}
```
```
## A little side note
The comments delimiting the Executor, `Future` implementation and Reactor,
emphasize on what is part of the langauge (Future and Waker) and what is not (runtime specifics).
Therefore, the comments associate the `Waker` with the `Future` implementation,
despite its strong relation with the Executor.