IResourceWithArgs.withArgsCallback
Method
interface IResourceWithArgs { // ... omitted for brevity withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => Promise<void>): IResourceWithArgs;}Signature
method
withArgsCallbackbuilderAdds a callback to be executed with a list of command-line arguments when a resource is started.
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => Promise<void>): IResourceWithArgsParameters
callback(obj: CommandLineArgsCallbackContext) => Promise<void>Returns
IResourceWithArgsDefined on
This method is defined on the following type: