Skip to content
DocsTry Aspire
DocsTry

onAfterResourcesCreated

Method
📦 Aspire.Hosting v13.4.0
interface EventingSubscriberRegistrationContext {
// ... omitted for brevity
onAfterResourcesCreated(callback: callback): 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>
DistributedApplicationEventSubscription

Applies to

This method applies to the following types: