4 ms·
Yes, as you have expected tokio has spawn_blocking which allows you to throw misbehaving code into a thread pool. This started to disgust me so I jumped to sql
by throwaway239219 4y ago
Yes, as you have expected tokio has spawn_blocking which allows you to throw misbehaving code into a thread pool.
This started to disgust me so I jumped to sqlx.
- outside1234 4y agoYes - what throwaway said. Good suggestion as well to use sqlx instead.