Skip to content

Why tokio::sync::broadcast doesn't work correctly when the sender is move out of the main thread? #4913

Answered by Darksonn
JuliaAlos asked this question in Q&A
Discussion options

You must be logged in to vote

All async code that uses std::thread::sleep is wrong. Read this for more.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JuliaAlos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants