top | item 39446010

(no title)

TrickardRixx | 2 years ago

Does the task system use threading, multiprocessing, or something else? I.E. can I do IO heavy tasks with this framework?

I'd like to read the docs myself to find out, but it seems like they are not hosted on the website. I can see that I can install the package and run the docs command, but I'd really rather use the web browser I'm already in to explore a new (to me) project's docs.

discuss

order

mondrian|2 years ago

The task system uses a thread pool as well as an ioloop. So tasks can be normal functions as well as `async def` functions/coroutines.

You can also pass in a custom executor and use processes instead of threads.

Thanks for the feedback wrt docs app.

TrickardRixx|2 years ago

Thank you for releasing this project. It looks great! I just need to find an excuse to try it out now.