18 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)
144
: notificationService.
PublishUpdateAsync
(resource, stateFactory);
220
await _notificationService.
PublishUpdateAsync
(context.Resource, s => s with { State = KnownResourceStates.FailedToStart }).ConfigureAwait(false);
Aspire.Hosting.Tests (14)
Dashboard\DashboardLifecycleHookTests.cs (1)
50
await resourceNotificationService.
PublishUpdateAsync
(model.Resources.Single(), s => s).DefaultTimeout();
Health\ResourceHealthCheckServiceTests.cs (13)
74
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
82
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
117
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
125
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
165
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
180
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
231
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
272
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
315
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
382
await app.ResourceNotifications.
PublishUpdateAsync
(resource.Resource, s => s with
445
await app.ResourceNotifications.
PublishUpdateAsync
(parent.Resource, s => s with
491
await app.ResourceNotifications.
PublishUpdateAsync
(parent.Resource, s => s with
543
await app.ResourceNotifications.
PublishUpdateAsync
(parent.Resource, s => s with