EventingSubscriberRegistrationContext.onBeforePublish
Method
interface EventingSubscriberRegistrationContext { // ... omitted for brevity onBeforePublish(callback: (arg: BeforePublishEvent) => Promise<void>): 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
DistributedApplicationEventSubscriptionDefined on
This method is defined on the following type: