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