4 references to PublishUpdateAsync
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (1)
589
await
PublishUpdateAsync
(resource, resourceName, stateFactory).ConfigureAwait(false);
Orchestrator\ApplicationOrchestrator.cs (2)
143
await _notificationService.
PublishUpdateAsync
(context.Resource, context.DcpResourceName, context.UpdateSnapshot).ConfigureAwait(false);
155
await _notificationService.
PublishUpdateAsync
(context.Resource, context.DcpResourceName, s => s with { State = KnownResourceStates.FailedToStart }).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
468
await resourceNotificationService.
PublishUpdateAsync
(dashboard, "aspire-dashboard-0", s => s with { State = "Running" }).DefaultTimeout();