Skip to content
DocsTry Aspire
DocsTry

subscribeAfterResourcesCreated

Method
📦 Aspire.Hosting v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
subscribeAfterResourcesCreated(callback: callback): DistributedApplicationEventSubscription;
}

Signature

methodsubscribeAfterResourcesCreated
Subscribes to the AfterResourcesCreated event, which fires after all resources are created.
subscribeAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): DistributedApplicationEventSubscription
callback(arg: AfterResourcesCreatedEvent) => Promise<void>
DistributedApplicationEventSubscription

Applies to

This method applies to the following types: