IDistributedApplicationBuilder.subscribeAfterResourcesCreated

Method
📦 Aspire.Hosting v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
subscribeAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): 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>A callback that receives the exported event when the event fires.
DistributedApplicationEventSubscription

Defined on

This method is defined on the following type: