Skip to content
Docs Try Aspire

IResource.onBeforeResourceStarted

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

Signature

method onBeforeResourceStarted builder
Subscribes to the BeforeResourceStarted event
onBeforeResourceStarted(callback: (arg: BeforeResourceStartedEvent) => void): IResource
callback (arg: BeforeResourceStartedEvent) => void
IResource

Defined on

This method is defined on the following type: