26 references to PublishUpdateAsync
Aspire.Hosting (4)
ApplicationModel\ResourceNotificationService.cs (2)
146await PublishUpdateAsync(resource, s => s with { State = KnownResourceStates.Waiting }).ConfigureAwait(false); 311await PublishUpdateAsync(resource, s => s with { State = KnownResourceStates.Waiting }).ConfigureAwait(false);
Orchestrator\ApplicationOrchestrator.cs (2)
147: notificationService.PublishUpdateAsync(resource, stateFactory); 289await _notificationService.PublishUpdateAsync(context.Resource, s => s with { State = KnownResourceStates.FailedToStart }).ConfigureAwait(false);
Aspire.Hosting.Tests (22)
Dashboard\DashboardLifecycleHookTests.cs (1)
49await resourceNotificationService.PublishUpdateAsync(model.Resources.Single(), s => s).DefaultTimeout();
Health\ResourceHealthCheckServiceTests.cs (17)
73await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 81await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 116await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 124await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 164await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 179await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 230await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 271await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 314await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 381await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 444await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 490await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 542await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 586await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 594await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 632await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 640await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with
WithHttpCommandTests.cs (4)
386await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 396await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 455await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 466await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with