confirm_async


Description:

public async PromptReply confirm_async (Cancellable? cancellable) throws Error

Prompts for confirmation asking a cancel/continue style question.

Set the various properties on the prompt before calling this method to represent the question correctly.

This method will return immediately and complete asynchronously.

Parameters:

this

a prompt

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback