onResourceEndpointsAllocated

Method
📦 Aspire.Hosting v17.0.0
interface ContainerResource {
// ... omitted for brevity
onResourceEndpointsAllocated(callback: callback): 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

Applies to

This method applies to the following types: