IDistributedApplicationBuilder.subscribeAfterPublish

Method
📦 Aspire.Hosting v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
subscribeAfterPublish(callback: (arg: AfterPublishEvent) => Promise<void>): DistributedApplicationEventSubscription;
}

Signature

methodsubscribeAfterPublish
Subscribes to the AfterPublish event, which fires after the application is published.
subscribeAfterPublish(callback: (arg: AfterPublishEvent) => Promise<void>): DistributedApplicationEventSubscription
callback(arg: AfterPublishEvent) => Promise<void>A callback that receives the exported event when the event fires.
DistributedApplicationEventSubscription

Defined on

This method is defined on the following type: