Skip to content
Docs Try Aspire
Docs Try

IResourceWithArgs.withArgsCallback

Method
📦 Aspire.Hosting v13.3.0
interface IResourceWithArgs {
// ... omitted for brevity
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => Promise<void>): IResourceWithArgs;
}

Signature

method withArgsCallback builder
Sets command-line arguments via callback
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => Promise<void>): IResourceWithArgs
callback (obj: CommandLineArgsCallbackContext) => Promise<void>
IResourceWithArgs

Defined on

This method is defined on the following type: