EventingSubscriberRegistrationContext.onBeforePublish
Method
interface EventingSubscriberRegistrationContext { // ... omitted for brevity onBeforePublish(callback: (arg: BeforePublishEvent) => Promise<void>): DistributedApplicationEventSubscription;}Signature
method
onBeforePublish Subscribes to the BeforePublish event from an eventing subscriber registration context.
onBeforePublish(callback: (arg: BeforePublishEvent) => Promise<void>): DistributedApplicationEventSubscriptionParameters
callback (arg: BeforePublishEvent) => Promise<void> Returns
DistributedApplicationEventSubscription Defined on
This method is defined on the following type: