showWarningMessageAsync

fun <T : MessageItem> showWarningMessageAsync(message: String, vararg items: T): PromiseLike<T?>(source)

Show a warning message.

Parameters

message

The message to show.

items

A set of items that will be rendered as actions in the message.

See also

showInformationMessage

window.showInformationMessage


fun <T : MessageItem> showWarningMessageAsync(message: String, options: MessageOptions, vararg items: T): PromiseLike<T?>(source)

Show a warning message.

Parameters

message

The message to show.

options

Configures the behaviour of the message.

items

A set of items that will be rendered as actions in the message.

See also

showInformationMessage

window.showInformationMessage