Replies: 1 comment
-
I figured it out immediately and don't know how to delete it. For future needs, I just needed to remove the async part of the closure:
|
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.
-
Is it possible to use a closure in
middleware::from_fn
?Here is a very basic example of what I am trying to accomplish. I know I could just create a function but the idea is this is something that would be repeated many times, and I don't want to have to create 30+ functions
Beta Was this translation helpful? Give feedback.
All reactions