Skip to content
DocsTry Aspire
DocsTry

IResourceWithEndpoints.onResourceEndpointsAllocated

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithEndpoints {
// ... omitted for brevity
onResourceEndpointsAllocated(callback: (arg: ResourceEndpointsAllocatedEvent) => Promise<void>): IResourceWithEndpoints;
}

Signature

methodonResourceEndpointsAllocatedbuilder
Subscribes to the ResourceEndpointsAllocated event.
onResourceEndpointsAllocated(callback: (arg: ResourceEndpointsAllocatedEvent) => Promise<void>): IResourceWithEndpoints
callback(arg: ResourceEndpointsAllocatedEvent) => Promise<void>
IResourceWithEndpoints

Defined on

This method is defined on the following type: