OnBeforeStart
Method
func (EventingSubscriberRegistrationContext) OnBeforeStart(callback func(arg BeforeStartEvent)) DistributedApplicationEventSubscriptionSignature
method
OnBeforeStart Subscribes to the BeforeStart event from an eventing subscriber registration context.
OnBeforeStart(callback func(arg BeforeStartEvent)) DistributedApplicationEventSubscriptionParameters
callbackfunc(arg BeforeStartEvent) callbackThe callback to invoke when the event fires.Returns
DistributedApplicationEventSubscription The event subscription.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: