Comment

Comment by mondrian

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.

parent mondrian 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton