6 references to PublishUpdateAsync
Aspire.Hosting (5)
ApplicationModel\ResourceNotificationService.cs (1)
691
await
PublishUpdateAsync
(resource, resourceName, stateFactory).ConfigureAwait(false);
Orchestrator\ApplicationOrchestrator.cs (4)
146
? notificationService.
PublishUpdateAsync
(resource, resourceId, stateFactory)
268
await _notificationService.
PublishUpdateAsync
(context.Resource, context.DcpResourceName, context.UpdateSnapshot).ConfigureAwait(false);
280
await _notificationService.
PublishUpdateAsync
(context.Resource, context.DcpResourceName, s => s with { State = KnownResourceStates.FailedToStart }).ConfigureAwait(false);
320
await _notificationService.
PublishUpdateAsync
(
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
480
await resourceNotificationService.
PublishUpdateAsync
(dashboard, "aspire-dashboard-0", s => s with { State = "Running" }).DefaultTimeout();