3 Commits

Author SHA1 Message Date
Remo Senekowitsch
91fd773859
Change story of exercise async1
- Remove confusing use of atomics. Use return values of async tasks
  instead, to ensure all tasks are awaited.
- Remove use of `println!()`, which uses a global lock and cannot be
  executed in parallel.
2026-04-25 15:33:53 +02:00
Remo Senekowitsch
5f9718cd2e
Refer to tokio as "mainstream" instead of "popular" 2026-04-25 15:33:53 +02:00
Remo Senekowitsch
abc8969dd0
Add exercise async1
The goal here was to get the first bit of "muscle memory" for using the
async and await keywords. The little story should make it more intuitive
for users why asynchronous programming is needed in the first place.

This exercise will be moved to the location corresponding to the book in
a later commit, to keep the diff of this one clean.
2026-04-18 23:31:26 +02:00