This commit is contained in:
Dave Pearson
2022-10-14 18:46:43 +01:00
parent 72c99e69fb
commit acc5e72775

View File

@@ -186,4 +186,4 @@ Let's look at an example which looks up word definitions from an [api](https://d
```{.textual path="docs/examples/events/dictionary.py" press="tab,t,e,x,t,_,_,_,_,_,_,_,_,_,_,_"}
```
Note the highlighted line in the above code which calls `asyncio.create_task` to run coroutine in the background. Without this you would find typing in to the text box to be unresponsive.
Note the highlighted line in the above code which calls `asyncio.create_task` to run a coroutine in the background. Without this you would find typing in to the text box to be unresponsive.