onBeforeStart
Method
interface EventingSubscriberRegistrationContext { // ... omitted for brevity onBeforeStart(callback: callback): DistributedApplicationEventSubscription;}Signature
method
onBeforeStart Subscribes to the BeforeStart event from an eventing subscriber registration context.
onBeforeStart(callback: (arg: BeforeStartEvent) => Promise<void>): DistributedApplicationEventSubscriptionParameters
callback(arg: BeforeStartEvent) => Promise<void> The callback to invoke when the event fires.Returns
DistributedApplicationEventSubscription Applies to
This method applies to the following types: