DistributedApplicationBuilder.SubscribeBeforePublish
Method
type DistributedApplicationBuilder interface { // ... omitted for brevity SubscribeBeforePublish(callback func(arg BeforePublishEvent)) DistributedApplicationEventSubscription}Signature
method
SubscribeBeforePublish Subscribes to the BeforePublish event, which fires before the application is published.
SubscribeBeforePublish(callback func(arg BeforePublishEvent)) DistributedApplicationEventSubscriptionParameters
callbackfunc(arg BeforePublishEvent) callbackA callback that receives the exported event when the event fires.Returns
DistributedApplicationEventSubscription A subscription handle that can be used to unsubscribe.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: