Skip to content
Docs Try Aspire

DistributedApplicationEventSubscription Properties

Class Properties 1 member
Represents a subscription to an event that is published during the lifecycle of the AppHost.
Callback Section titled Callback Func<IDistributedApplicationEvent, CancellationToken, Task>
The callback to be executed when the event is published.
public Func<IDistributedApplicationEvent, CancellationToken, Task> Callback { get; }