InteractionInputBuilder.withDynamicLoading
Method
interface InteractionInputBuilder { // ... omitted for brevity withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilder;}Signature
method
withDynamicLoading Attaches a callback that dynamically loads or updates the input after the prompt starts.
withDynamicLoading(callback: (arg: InteractionInputLoadContext) => Promise<void>, options?: DynamicLoadingOptions): InteractionInputBuilderParameters
callback(arg: InteractionInputLoadContext) => Promise<void> The callback invoked to load the input. Use the supplied context to read other inputs and update this input.optionsDynamicLoadingOptions optionalOptional configuration that controls when the callback runs.Returns
InteractionInputBuilder Defined on
This method is defined on the following type: