Skip to content
Docs Try Aspire

IResourceWithArgs.withArgsCallbackAsync

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithArgs {
// ... omitted for brevity
withArgsCallbackAsync(callback: (arg: CommandLineArgsCallbackContext) => void): IResourceWithArgs;
}

Signature

method withArgsCallbackAsync builder
Sets command-line arguments via async callback
withArgsCallbackAsync(callback: (arg: CommandLineArgsCallbackContext) => void): IResourceWithArgs
callback (arg: CommandLineArgsCallbackContext) => void
IResourceWithArgs

Defined on

This method is defined on the following type: