showInputBoxAsync
fun showInputBoxAsync(options: InputBoxOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<JsString?>(source)
Opens an input box to ask the user for input.
The returned value will be undefined
if the input box was canceled (e.g. pressing ESC). Otherwise the returned value will be the string typed by the user or an empty string if the user did not type anything but dismissed the input box with OK.
Parameters
options
Configures the behavior of the input box.
token
A token that can be used to signal cancellation.