IDistributedApplicationBuilder.subscribeBeforePublish
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity subscribeBeforePublish(callback: (arg: BeforePublishEvent) => Promise<void>): DistributedApplicationEventSubscription;}Signature
method
subscribeBeforePublishSubscribes to the BeforePublish event, which fires before the application is published.
subscribeBeforePublish(callback: (arg: BeforePublishEvent) => Promise<void>): DistributedApplicationEventSubscriptionParameters
callback(arg: BeforePublishEvent) => Promise<void>Returns
DistributedApplicationEventSubscriptionDefined on
This method is defined on the following type: