concurrency
Making progress on several jobs over the same period, taking turns if needed.
Concurrency is structuring a program as independent tasks whose execution overlaps in time; it doesn't require multiple CPU cores.
Loading interactive…
Examples
On a
current_threadTokio runtime, a heartbeat task and a report task take turns at each.await: concurrent, but never running at the same instant.