DistributedApplicationEventSubscription.Callback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)