Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

await background tasks in inline deployments #407

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkerken
Copy link
Contributor

@jkerken jkerken commented Nov 22, 2024

No description provided.

@@ -80,7 +80,7 @@ internal static async Task<T> RunInlineAsyncWithResult<T>(IDeploymentBuilder bui
{
try
{
var result = await runnerFunc(runner).ConfigureAwait(false);
var result = await runner.RunAsync(()=> runnerFunc(runner)).ConfigureAwait(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we actually need to pass the runner to runnerFunc here. It's not used in the provider implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants