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