Process request data in other thread #2539
Unanswered
Neo-Ciber94
asked this question in
Questions
Replies: 1 comment 1 reply
-
The approach you're presenting appears, at first glance, to be conceptually mistaken. Perhaps the best way for me to respond it to present a few points for your consideration. Hopefully they collectively resolve your question.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Most of the tokio types require a non-static lifetime but I'm having some problems with that when trying to move data to other thread or using tokio.
In this minimal example I want to read the request data as a stream and process it in other thread, is there a way to do it? Its not currently possible because cannot be borrowed for static.
Beta Was this translation helpful? Give feedback.
All reactions