Using JavaScript-style async promises in Python

preview_player
Показать описание
Do you know what is the difference between the Python and JavaScript async models, and why I think the JavaScript model is better? In this video I'll show you the difference, and how to make async Python work more like JavaScript.

00:00 Introduction
02:03 The Python async model
06:50 The JavaScript async model
12:44 Using JavaScript-style promises in Python
Рекомендации по теме
Комментарии
Автор

I've never seen this so well explained anywhere. This video was super helpful. I picked up on this behavior over the years but thanks to your video we can all see what's going on.

jamesdelancey
Автор

You are an experienced developer who is willing to share.Thanks

yangjack
Автор

Ohhh man! Finally a new video! Thanks <333

wduandy
Автор

Nice video, Great stuff, looking for more stuff from your channel

venkybollimuntha
Автор

Really neat stuff. With the added accessiblity of async functions, I'm excited to explore. But I'm struggling to appreciate the range of the utility I've got here. I'm going to have to learn more about use cases of async functions in an bookshelf-type social media / blog Flask app. Thanks for getting the wheels turning!

DanAdiletta
Автор

Definitely using this in my projects. I also prefer the JavaScript way.

thagreatone
Автор

Great content, had no idea we could do this.

AlexandreShimono
Автор

Really amazing content.

I was wondering if you can make a video on how to debug a celery worker in the docker container.

plashless
Автор

Thankyou for this. I am also so confused by python's async model. It appears to be utterly pointless without complicated futzing about with tasks and futures.

EngineerNick
Автор

Like promise, very like promisio now we can play the promise in python. 🎉🎉

chenghuichao
join shbcf.ru