IResourceWithEndpoints.onResourceEndpointsAllocated

Method
📦 Aspire.Hosting v17.0.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>The callback to invoke when the event fires.
IResourceWithEndpoints

Defined on

This method is defined on the following type: