Share via


IDistributedApplicationEventingSubscriber Interface

Definition

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.

public interface IDistributedApplicationEventingSubscriber
type IDistributedApplicationEventingSubscriber = interface
Public Interface IDistributedApplicationEventingSubscriber

Methods

SubscribeAsync(IDistributedApplicationEventing, DistributedApplicationExecutionContext, CancellationToken)

Callback during which the service should subscribe to global events from IDistributedApplicationEventing.

Applies to