withArgsCallback
Method
interface ContainerResource { // ... omitted for brevity withArgsCallback(callback: callback): IResourceWithArgs;}Signature
method
withArgsCallback builder Adds 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
IResourceWithArgs Applies to
This method applies to the following types: