Skip to content
Docs Try Aspire
Docs Try

onAfterResourcesCreated

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

Signature

method onAfterResourcesCreated
Subscribes an eventing subscriber to the AfterResourcesCreated event
onAfterResourcesCreated(callback: (arg: AfterResourcesCreatedEvent) => Promise<void>): DistributedApplicationEventSubscription
callback (arg: AfterResourcesCreatedEvent) => Promise<void>
DistributedApplicationEventSubscription

Applies to

This method applies to the following types: