Skip to content

Commit eaa5634

Browse files
authored
Update runner-loop.md
1 parent a7eb8e2 commit eaa5634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/docs/design/architecture/runner-loop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ to them appropriately:
5555

5656
Each iteration of the dispatcher loop has three phases:
5757

58-
1. **Select over sources.** Run a [`tokio::select`][tokio-select] over the event sources, generating an `InternalEvent`.
58+
1. **Select over sources.** Run a [`tokio::select`][tokio-select] over the event sources, generating an `InternalEvent`. Nextest [benefits tremendously](https://sunshowers.io/posts/nextest-and-tokio/) from async Rust's ability to perform heterogeneous selects; achieving the same level of care would be very difficult in most other languages.
5959

60-
2. **Handle the event.** Based on the `InternalEvent`, do one or more of the following, in `handle_event`:
60+
3. **Handle the event.** Based on the `InternalEvent`, do one or more of the following, in `handle_event`:
6161

6262
- Update the dispatcher's internal state, such as the current number of tests
6363
running.

0 commit comments

Comments
 (0)