askQuestion
codebolt.chat.askQuestion(question: string): Promise<string>
Asks a question to the user and waits for a response.
Parameters
Name | Type | Description |
---|---|---|
question | string | The question text to present to the user. |
Returns:
Promise<string>
A promise that resolves with the user's response.Example:
const userResponse = await codebolt.chat.askQuestion(question: string)