EventingSubscriberRegistrationContext.onAfterResourcesCreated

Method
📦 Aspire.Hosting v17.0.0
interface EventingSubscriberRegistrationContext {
// ... omitted for brevity
onAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): DistributedApplicationEventSubscription;
}

Signature

methodonAfterResourcesCreated
Subscribes to the AfterResourcesCreated event from an eventing subscriber registration context.
onAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): DistributedApplicationEventSubscription
callback(arg: AfterResourcesCreatedEvent) => Promise<void>The callback to invoke when the event fires.
DistributedApplicationEventSubscription

Defined on

This method is defined on the following type: