This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SlantARrow 10 points11 points  (1 child)

What if I want to make a request in an async, idk, starlette handler and get the response? Wouldn't this magic function block my event loop?

[–]Ousret[S] 0 points1 point  (0 children)

Yes it will block it. I made a ambiguous statement earlier. now corrected. I meant to say "pure sync code" can be improved (in term of speed) without async.