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