Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rysweet committed Dec 2, 2024
1 parent ed9cd17 commit ec118d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotnet/src/Microsoft.AutoGen/Agents/AgentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private async ValueTask AddImplicitSubscriptionsAsync()
}
}
};
// explicitly wait for this to complete
await _runtime.SendMessageAsync(new Message { AddSubscriptionRequest = subscriptionRequest }).ConfigureAwait(true);

var subscriptionRequest2 = new AddSubscriptionRequest
Expand All @@ -69,6 +70,7 @@ private async ValueTask AddImplicitSubscriptionsAsync()
}
}
};
// explicitly wait for this to complete
await _runtime.SendMessageAsync(new Message { AddSubscriptionRequest = subscriptionRequest2 }).ConfigureAwait(true);
}
internal Task Start()
Expand Down

0 comments on commit ec118d9

Please sign in to comment.