blocking
blocking copied to clipboard
Difference with `tokio::task::spawn_blocking`?
Hi, I stumbled across this crate from my GitHub timeline, interesting repo!
When I read the README, my first thought was that my previous solution to this problem was to use tokio::task::spawn_blocking. I was wondering if there are any differences or advantages to this crate over it? Thanks!
This crate doesn't depend on the tokio runtime. That is the main advantage, if you're just using the unblock method.