ResourceNotificationService
Classnet10.0
A service that allows publishing and subscribing to changes in the state of a resource.
namespace Aspire.Hosting.ApplicationModel;
public class ResourceNotificationService : System.IDisposable{ // ...}IDisposable
13 members
Constructors2
Section titled Constructors Creates a new instance of
ResourceNotificationService. Methods11
Section titled MethodsPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Task Updates the snapshot of the
CustomResourceSnapshot for a resource. Task Updates the snapshot of the
CustomResourceSnapshot for a resource. bool Attempts to retrieve the current state of a resource by resourceId.
Task Waits for all dependencies of the resource to be ready.
Task Waits for a resource to reach the specified state. See
KnownResourceStates for common states. Task<string> Waits for a resource to reach one of the specified states. See
KnownResourceStates for common states. Waits until a resource satisfies the specified predicate.
Waits for a resource to become healthy.
Waits for a resource to become healthy.
Watch for changes to the state for all resources.