close


Description:

public bool close (Cancellable? cancellable = null) throws Error

Close this prompt.

After calling this function, no further prompts will succeed on this object. The prompt object is not unreferenced by this function, and you must unreference it once done.

This call may block, use the close_async to perform this action indefinitely.

Whether or not this function returns true, the system prompt object is still closed and may not be further used.

Parameters:

this

the prompt

cancellable

an optional cancellation object

Returns:

whether close was cleanly completed