Replies: 2 comments
-
Adding @alliscode |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm closing this discussion, as I found out that my problem was actually something unrelated. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT: My issue was something unrelated; it was a problem with my API call, not the process. The code to bellow should successfully get the state asynchronously.
Because my steps run asynchronously, my AspNetCore.Controller is immediately returning a view after calling StartAsync().
Following along in the debugger, my controller method executes its return statement after the first await in my first step.
How do I stop this from happening? Is there an easy way to wrap the output of the last step, or its state, or the process's state as the result from a task that can simply be awaited and used only after the process is completed or stopped?
Beta Was this translation helpful? Give feedback.
All reactions