Understanding Python: Concurrent Coroutines
HTML-код
- Опубликовано: 30 авг 2023
- In this video, I teach you how to achieve concurrency with coroutines.
The lesson includes a walk-through of generators, how they are naturally cooperative, and how to leverage that nature with an asynchronous scheduler.
We also show how to handle a traditionally blocking task, sleeping, concurrently, and finally bring in more real-world functionality.
As always, if you have any questions or suggestions for future videos, please comment below.
Follow me on Twitter: / jakejcallahan
Source: github.com/JacobCallahan/Unde...
Intro music: 失望した by Eva
Link: • EVA - 失望した [Synthwave]...
Outro music: Elix by Synthness
Link: • Synthness - Elix ★ No ... Наука
One thing I'd like to see someone do with this example is figure out how to use the call_later functionality as an alternative sleep method for coroutines that are using the AsyncScheduler. If you have some ideas of how to do this, I'd love to see what you come up with!
Great explanation!
Another great video!!
Thank you Jake
oh my god this video is what i've been looking for. TY a lot!