onBeforeResourceStarted
Method
interface ContainerResource { // ... omitted for brevity onBeforeResourceStarted(callback: callback): IResource;}Signature
method
onBeforeResourceStarted builderSubscribes to the BeforeResourceStarted event.
onBeforeResourceStarted(callback: (arg: BeforeResourceStartedEvent) => Promise<void>): IResourceParameters
callback(arg: BeforeResourceStartedEvent) => Promise<void> The callback to invoke when the event fires.Returns
IResource Applies to
This method applies to the following types: