showQuickPickAsync

external fun showQuickPickAsync(items: ReadonlyArray<JsString>, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<JsString?>(source)

Shows a selection list.

Parameters

items

An array of strings, or a promise that resolves to an array of strings.

options

Configures the behavior of the selection list.

token

A token that can be used to signal cancellation.


external fun showQuickPickAsync(items: PromiseLike<ReadonlyArray<JsString>>, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<JsString?>(source)
external fun <T : QuickPickItem> showQuickPickAsync(items: PromiseLike<ReadonlyArray<T>>, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<T?>(source)


external fun <T : QuickPickItem> showQuickPickAsync(items: ReadonlyArray<T>, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<T?>(source)

Shows a selection list.

Parameters

items

An array of items, or a promise that resolves to an array of items.

options

Configures the behavior of the selection list.

token

A token that can be used to signal cancellation.