Usage of futures::executor::block_on
#1354
Unanswered
paologallinaharbur
asked this question in
Q&A
Replies: 1 comment
-
So there are several issues going on here, some of which hide the others...
All in all, this smells like a case of the XY problem. What is the actual goal that you are trying to accomplish here? |
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.
-
We are trying to call async method hiding calls to k8s from no-async methods:
Es:
and we are in a Tokio runtime marked with
#[tokio::main]
I initially had some issues, but now it seems to be working. However, while researching I found the following comment in an old issue from @nightkr
It states:
Are there any issues I am not seeing? are they compatible?
Beta Was this translation helpful? Give feedback.
All reactions