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