Y
Hacker News
new
|
ask
|
show
|
jobs
by
ben-schaaf
929 days ago
Doesn't tokio have a single-threaded runtime where that's not needed?
1 comments
zackangelo
929 days ago
Yes but Send + Sync is required everywhere regardless.
link
vgatherps
928 days ago
This is not true, you can run non-send futures using Tokio:
https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html
link