Share via


DistributedApplicationEventSubscription.Callback Property

Definition

The callback to be executed when the event is published.

public Func<Aspire.Hosting.Eventing.IDistributedApplicationEvent,System.Threading.CancellationToken,System.Threading.Tasks.Task> Callback { get; }
member this.Callback : Func<Aspire.Hosting.Eventing.IDistributedApplicationEvent, System.Threading.CancellationToken, System.Threading.Tasks.Task>
Public ReadOnly Property Callback As Func(Of IDistributedApplicationEvent, CancellationToken, Task)

Property Value

Applies to