4 ms·
Python is the same as JS. Async function (that returns something you need) can be called only from async function. That's why autor of this specific rendering
by scotty79 2y ago
Python is the same as JS.
Async function (that returns something you need) can be called only from async function. That's why autor of this specific rendering framework/lib chose it to be async. So that the user functions called in components can be either sync or async.