Concept Flow - Delay vs Thread.sleep
Start Coroutine
Call delay(1000)
Coroutine Suspends
Other coroutines run
After 1 second
Coroutine Resumes
Continue execution
Start Thread
Call Thread.sleep(1000)
Thread Blocks
No other code runs in this thread
After 1 second
Thread wakes up
Continue execution
Shows how delay suspends a coroutine allowing others to run, while Thread.sleep blocks the thread stopping all work on it.