EventingSubscriberRegistrationContext.OnAfterPublish
Method
type EventingSubscriberRegistrationContext interface { // ... omitted for brevity OnAfterPublish(callback func(arg AfterPublishEvent)) DistributedApplicationEventSubscription}Signature
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().
Defined on
This method is defined on the following type: