IDistributedApplicationEventingSubscriber
Interfacenet10.0
Defines an interface for services that want to subscribe to events from IDistributedApplicationEventing. This allows a service to subscribe to BeforeStartEvent before the application actually starts.
namespace Aspire.Hosting.Lifecycle;
public interface IDistributedApplicationEventingSubscriber{ // ...}Methods1
Section titled MethodsTask Callback during which the service should subscribe to global events from IDistributedApplicationEventing.