Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Update 04_Suspend.md #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Introduction to Coroutines and Channels/04_Suspend.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ The coroutine resumes only after the corresponding response is received:
![](./assets/4-suspend/SuspendRequests.png)

While the response is waiting to be received, the thread is free to be occupied with other tasks.
That's why when users are loaded via the `COROUTINE` option, the UI stays responsive, despite all the requests
That's why when users are loaded via the `SUSPEND` option, the UI stays responsive, despite all the requests
taking place on the main UI thread.
The log confirms that all the requests are sent on the main UI thread:

Expand Down