You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/posts/responsive-app-background-task.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ It is by using the module `asyncio` from the standard library that our cook lear
69
69
[Textual](https://github.com/textualize/textual) is an async framework, which means it knows how to interoperate with the module `asyncio` and this will be the solution to our problem.
70
70
By using `asyncio` with the tasks we want to run in the background, we will let the application remain responsive while we load and parse the data we need, or while we crunch the numbers we need to crunch, or while we connect to some slow API over the Internet, or whatever it is you want to do.
71
71
72
-
The module `asyncio`introduces a keyword `async`that you can use to identify functions that you want to be able to run asynchronously.
72
+
The module `asyncio`uses the keyword `async` to know which functions can be run asynchronously.
73
73
In other words, you use the keyword `async` to identify functions that contain tasks that would otherwise force the cook to waste time.
74
74
(Functions with the keyword `async` are called _coroutines_.)
0 commit comments