Skip to content
Docs Try Aspire

IResourceWithEndpoints.onResourceEndpointsAllocated

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

Signature

method onResourceEndpointsAllocated builder
Subscribes to the ResourceEndpointsAllocated event
onResourceEndpointsAllocated(callback: (arg: ResourceEndpointsAllocatedEvent) => void): IResourceWithEndpoints
callback (arg: ResourceEndpointsAllocatedEvent) => void
IResourceWithEndpoints

Defined on

This method is defined on the following type: