close_async


Description:

public async bool close_async (Cancellable? cancellable) throws Error

Close this prompt asynchronously.

After calling this function, no further methods may be called on this object. The prompt object is not unreferenced by this function, and you must unreference it once done.

This call returns immediately and completes asynchronously.

Parameters:

this

the prompt

cancellable

an optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback