Skip to content
DocsTry Aspire
DocsTry

EventingSubscriberRegistrationContext.onAfterResourcesCreated

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

Defined on

This method is defined on the following type: