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