Skip to content
Docs Try Aspire

IResource.onResourceReady

Method
📦 Aspire.Hosting v13.2.0
interface IResource {
// ... omitted for brevity
onResourceReady(callback: (arg: ResourceReadyEvent) => void): IResource;
}

Signature

method onResourceReady builder
Subscribes to the ResourceReady event
onResourceReady(callback: (arg: ResourceReadyEvent) => void): IResource
callback (arg: ResourceReadyEvent) => void
IResource

Defined on

This method is defined on the following type: