Kevin Tewouda
1 min readJun 19, 2020

--

I think you want to say the opposite. I don’t see why it is difficult to run synchronous code in an asynchronous context. It is just a code that will block the event loop if it takes too much time. Not a big deal. But called an async function in a synchronous code is another story. You need to use some api like loop.run_until_complete, etc..

--

--

Kevin Tewouda
Kevin Tewouda

Written by Kevin Tewouda

Déserteur camerounais résidant désormais en France. Passionné de programmation, sport, de cinéma et mangas. J’écris en français et en anglais dû à mes origines.

No responses yet