Replies: 1 comment
-
|
Nevermind I misunderstood the async_recursion documentation. I found the issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I'm writing a simple redis server and I have an issue. I have an async
handle_connectionfunction that calls an async functionparse_req. I want to makeparse_reqrecursive, so I installed the async_recursion crate. Now to the issue: I need the future to beSend. If I mark it asSendin the async_recursion macro, it complains that it awaits a future that isn'tSend. Is there any way I could make is recursive?Beta Was this translation helpful? Give feedback.
All reactions