OnAfterPublish
Method
func (EventingSubscriberRegistrationContext) OnAfterPublish(callback func(arg AfterPublishEvent)) DistributedApplicationEventSubscriptionSignature
method
OnAfterPublish Subscribes to the AfterPublish event from an eventing subscriber registration context.
OnAfterPublish(callback func(arg AfterPublishEvent)) DistributedApplicationEventSubscriptionParameters
callbackfunc(arg AfterPublishEvent) callbackThe callback to invoke when the event fires.Returns
DistributedApplicationEventSubscription The event subscription.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: