InteractionInputBuilder.withDynamicLoading

Method
📦 Aspire.Hosting v17.0.0
interface InteractionInputBuilder {
// ... omitted for brevity
withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilder;
}

Signature

methodwithDynamicLoading
Attaches a callback that dynamically loads or updates the input after the prompt starts.
withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilder
callback(arg: InteractionInputLoadContext) => Promise<void>The callback invoked to load the input. Use the supplied context to read other inputs and update this input.
optionsDynamicLoadingOptionsoptionalOptional configuration that controls when the callback runs.
InteractionInputBuilder

Defined on

This method is defined on the following type: