onBeforePublish
Method
interface EventingSubscriberRegistrationContext { // ... omitted for brevity onBeforePublish(callback: callback): 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 Applies to
This method applies to the following types: