DistributedApplicationBuilder.SubscribeAfterPublish
Method
type DistributedApplicationBuilder interface { // ... omitted for brevity SubscribeAfterPublish(callback func(arg AfterPublishEvent)) DistributedApplicationEventSubscription}Signature
method
SubscribeAfterPublish Subscribes to the AfterPublish event, which fires after the application is published.
SubscribeAfterPublish(callback func(arg AfterPublishEvent)) DistributedApplicationEventSubscriptionParameters
callbackfunc(arg AfterPublishEvent) 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: