Skip to content

Commit 2a07d01

Browse files
Update responsive-app-background-task.md
1 parent 4ca6cc3 commit 2a07d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/posts/responsive-app-background-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ It is by using the module `asyncio` from the standard library that our cook lear
6969
[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.
7070
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.
7171

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.
7373
In other words, you use the keyword `async` to identify functions that contain tasks that would otherwise force the cook to waste time.
7474
(Functions with the keyword `async` are called _coroutines_.)
7575

0 commit comments

Comments
 (0)