onAfterPublish

Method
📦 Aspire.Hosting v17.0.0
interface EventingSubscriberRegistrationContext {
// ... omitted for brevity
onAfterPublish(callback: callback): DistributedApplicationEventSubscription;
}

Signature

methodonAfterPublish
Subscribes to the AfterPublish event from an eventing subscriber registration context.
onAfterPublish(callback: (arg: AfterPublishEvent) => Promise<void>): DistributedApplicationEventSubscription
callback(arg: AfterPublishEvent) => Promise<void>The callback to invoke when the event fires.
DistributedApplicationEventSubscription

Applies to

This method applies to the following types: