waitForResourceState
Method
interface ResourceNotificationService { // ... omitted for brevity waitForResourceState( resourceName: string, targetState?: string): void;}Signature
method
waitForResourceStateWaits for a resource to reach a specified state.
waitForResourceState( resourceName: string, targetState?: string): voidParameters
resourceNamestringtargetStatestringoptionalApplies to
This method applies to the following types: