DistributedApplicationBuilder.SubscribeBeforeStart
Method
type DistributedApplicationBuilder interface { // ... omitted for brevity SubscribeBeforeStart(callback func(arg BeforeStartEvent)) DistributedApplicationEventSubscription}Signature
method
SubscribeBeforeStart Subscribes to the BeforeStart event, which fires before the application starts.
SubscribeBeforeStart(callback func(arg BeforeStartEvent)) DistributedApplicationEventSubscriptionParameters
callbackfunc(arg BeforeStartEvent) callbackA callback that receives the exported event when the event fires.Returns
DistributedApplicationEventSubscription A subscription handle that can be used to unsubscribe.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: