candango / firenado

Web Framework that extends Tornado Web organizing the application, and adding extra features.
Apache License 2.0
12 stars 9 forks source link

Implement component loading asynchronously #398

Open piraz opened 2 years ago

piraz commented 2 years ago

We want to make sure an asynchronous code inside the component method initialize to be able to execute without errors.

Here is the component initialize method: https://github.com/candango/firenado/blob/develop/firenado/tornadoweb.py#L303-L307

The method is called in this loop:

See: https://github.com/candango/firenado/blob/develop/firenado/tornadoweb.py#L175-L199