DistributedApplicationEventSubscription
Classnet10.0
Represents a subscription to an event that is published during the lifecycle of the AppHost.
namespace Aspire.Hosting.Eventing;
public class DistributedApplicationEventSubscription{ // ...}Constructors1
Section titled ConstructorsDistributedApplicationEventSubscription(Func<IDistributedApplicationEvent, CancellationToken, Task>) Represents a subscription to an event that is published during the lifecycle of the AppHost.
Properties1
Section titled PropertiesCallbackgetFunc<IDistributedApplicationEvent, CancellationToken, Task> The callback to be executed when the event is published.