Skip to content
Docs Try Aspire
Docs Try

subscribeAfterResourcesCreated

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

Signature

method subscribeAfterResourcesCreated
Subscribes to the AfterResourcesCreated event
subscribeAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): DistributedApplicationEventSubscription
callback (arg: AfterResourcesCreatedEvent) => Promise<void>
DistributedApplicationEventSubscription

Applies to

This method applies to the following types: