EventingSubscriberRegistrationContext.OnBeforeStart
Method
type EventingSubscriberRegistrationContext interface { // ... omitted for brevity OnBeforeStart(callback func(arg BeforeStartEvent)) DistributedApplicationEventSubscription}Signature
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().
Defined on
This method is defined on the following type: