Skip to content
Docs Try Aspire
Docs Try

EventingSubscriberRegistrationContext.onAfterResourcesCreated

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

Defined on

This method is defined on the following type: