blocking icon indicating copy to clipboard operation
blocking copied to clipboard

Difference with `tokio::task::spawn_blocking`?

Open SpriteOvO opened this issue 1 year ago • 1 comments

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!

SpriteOvO avatar Mar 24 '25 00:03 SpriteOvO

This crate doesn't depend on the tokio runtime. That is the main advantage, if you're just using the unblock method.

notgull avatar Jul 19 '25 04:07 notgull