Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task: Add more tips + links to
spawn_blocking
docs
I'm working on some code which heavily uses `spawn_blocking` to run synchronous code, and it took me a while to find and understand the relevant APIs and patterns here. Let's link to the channel blocking APIs, and provide a small example. I plan to mention tokio-rs#4146 here too once that merges.
- Loading branch information